Support » Themes and Templates » How to stop a:hover on img in .entrytext

  • Resolved dannybcastillo

    (@dannybcastillo)


    http://www.dannycastillo.com/wp/?p=92
    Here’s the link to view the problem.

    I want to keep my .entrytext a & a:hover rules in classes.css.

    I tried…
    .entrytext a:hover img {…}
    ,but nothing seemed to work.

    BTW, I am using lightbox as my gallery viewer. It looks like its highlighting text behind the piture.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check this out, made it budge:

    .entrytext p a:hover {
    color: #FFF;
    background-color: #fff;
    }

    (New selector, white bg…)

    It works, but it affects all other links in all the other posts. white font on white background.

    I also tried to create a class for the section in the post editor

    <span class”gallerythumbs”>…</span>

    ,but It still reads the parent .entrytext css.

    Maybe there something else,or I might have to do without that styling.

    Thanks

    I figured it out. My gallery is view by a differnet sinlge.php. So, I just removed class=’entrytext’ from the div tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to stop a:hover on img in .entrytext’ is closed to new replies.