Jump to content
stefanoferruggiara

Css Code That Doesn't Work

Recommended Posts

stefanoferruggiara

HI,

i set this code:

.pl-imageframe a:hover img {

background: none repeat scroll 0% 0% rgb(127, 38, 21);

}

for change the hover color of the frame box but.. doesn't work.

http://www.stefanoferruggiara.com/corsi-sulle-microespressioni-emozioni-e-bugie/


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
Rob

Stefano,

This code works to create a brown border around two of your boxes:


.pl-imageframe a:hover img {

background: none repeat scroll 0 0 rgb(127, 38, 21);

}

The reason it doesn't work on Calendario Corsi is that you do not have an href link to the box image.

Look at the code above... it says imageframe (the frame) a (the href link) hover (the action taken by the visitor for the link before, and img (the image being the linked item).

When you don't have an href wrapping the image, as with Calendario, you won't get an a:hover effect because there's no a href. Capice? ;-)

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
stefanoferruggiara

thanks


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
Rob

The topic was marked as resolved.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Claude203
      By Claude203
      I would like to format the Testimonial Box for mobile devices, considering that the container is a dynamic section. 
       
      Aside from targeting the specific elements in the @media section, is there anything else I could use to affect the dynamically changing shape?
       
      @media only screen and (max-device-width: 700px) {
      ?
      ?
      }
       
      Thank you!
    • gansoma
      By gansoma
      Hi! There is any option to link a box to another part of the same page ?, I have solved it in the case of tittles but I can't make it run with the boxes.
       
      Thanks!
    • kulmetehan
      By kulmetehan
      Hi guys,
       
      Is not being able to edit the font size also a known bug?
       
      See the footer on my website homepage: http://betercv.nl
       
      Here you can see that the textbox on the bottom left corner has a logo and some text in it. Even though I've set the text size (in the text box) to 14px, it keeps staying on 22px.
       
      I tried some css but I'm not so great in that.
       
      What I did was:
       
      Set the styling class of the textbox to: ".footertb"
       
      And then I put the folowing line in to the editor:
        .footertb {   font-size: 14px; }   But it didn't work. Any idea what I'm doing wrong and what I can do to fix it?
    • jacobtippett
      By jacobtippett+
      Hello,
       
      I am trying to get a MediaBox clickable, which I was able to do, but when doing so it added a large amount of unneccesary padding to the top and bottom of the image. I am trying to get it very close to the navigation bar. I can't seem to figure out how to fix this: [attachment=1670:Screen Shot 2013-10-19 at 1.36.19 AM.png]
       
      The code I am using is:
       
       
      <a href="http://therefinerychurch.org/about/vision"> <img border="0" src="[pl_site_url]/wp-content/uploads/2013/10/visionhome.jpg" alt="Our Vision"></a></p>   I am putting that code in the embed HTML section of a MediaBox.   Website: http://therefinerychurch.org   Thanks!
    • Jinfiltration
      By Jinfiltration
      Hi,
       
      I need to center the words in the menu bar and the dropdown box, may i know where should i edit in CSS?
       
      i did some edit on the css file, i finally moved the dropdown box to almost center, but i couldnt move the word in the menu to the center.
       

×