WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove background (3 posts)

  1. makta112
    Member
    Posted 2 years ago #

    Hello

    I've done so that when visitors hover a link on my site, the background turns blue.

    But I've noticed that the same things happens with image-links. Try hovering over these image: http://www.geimaku.com/23/08/2012/dead-or-alive-5-helena-douglas-and-lisa-hamilton-revealed/

    See? How can I remove the blue from images? The same thing happens when you hover the Twitter and RSS icons on top.

    Thanks. My site: http://geimaku.com

  2. whit.skyler
    Member
    Posted 2 years ago #

    Hi makta112,

    Take a look at line 757 in your style.css file. Since the imgs also use the <a> tag, this hover gets applied to them as well.

    Give this a try: change a:hover to .entry-header a:hover on line 757. After doing this, you should comment out the .entry-header a:hover just below it.

    Let us know if that resolves the issue for you.

    Whit

  3. makta112
    Member
    Posted 2 years ago #

    Hi,

    Thanks. But the code you've provided removes the background fromm ALL links, yes? I still want to keep the background in links inside posts :)

    However, I've found out how to remove it from the icons and gallery items. These simple lines of codes did it:

    .gallery a {background:none;}

    .icons a {background:none;}

Topic Closed

This topic has been closed to new replies.

About this Topic