WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to stop a:hover on img in .entrytext (4 posts)

  1. dannybcastillo
    Member
    Posted 8 years ago #

    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

  2. yosemite
    Member
    Posted 8 years ago #

    Check this out, made it budge:

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

    (New selector, white bg...)

  3. dannybcastillo
    Member
    Posted 8 years ago #

    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

  4. dannybcastillo
    Member
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.