WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Link Hover Color in 2011 theme (3 posts)

  1. Hazlo
    Member
    Posted 2 years ago #

    Hello there,
    I'm just looking for a code I could add to my twenty eleven child theme css, in order to change the color (and eventually the size, of the frame that comes out when I hover over a linked image.
    Does anyone know?
    I've been searching around, in the old topics, but couldn't find. Any help would be greatly appreciated.
    Thx!
    http://www.hazlotopics.com/blog

  2. peredur
    Member
    Posted 2 years ago #

    I think that this is the rule you're after:

    a:focus img[class*="align"], a:hover img[class*="align"], a:active img[class*="align"], a:focus img[class*="wp-image-"], a:hover img[class*="wp-image-"], a:active img[class*="wp-image-"], #content .gallery .gallery-icon a:focus img, #content .gallery .gallery-icon a:hover img, #content .gallery .gallery-icon a:active img {
      background: none repeat scroll 0 0 #EEEEEE;
      border-color: #BBBBBB;
    }

    You'll need to decide which ones of those you want to affect with your new rule and then add a new border rule.

    Firebug rules!

    :)

    HTH

    PAE

  3. Hazlo
    Member
    Posted 2 years ago #

    That's great.
    I think I got it now.
    You're right : never forget Firebug!!
    Thanks a lot.
    All the Best.

Topic Closed

This topic has been closed to new replies.

About this Topic