WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 2010 Hover Color issue (3 posts)

  1. ldare2000
    Member
    Posted 1 year ago #

    Hi,

    On the following http://www.teste123.info/example1/ I have an issue with my hover colors which I can't fix?

    When I hover over the current page the background is white as is the text? Where in style CSS can I change the text colour to black during a hover? Other hovers are fine, just the active page.

    Many Thanks
    Louis

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    all menu styles start with #access and are in the /* =Menu section of style.css;

    the text color format for the current menu item is more specific, so you need to add a new style to that section:

    #access ul li.current_page_item > a:hover,
    #access ul li.current-menu-ancestor > a:hover,
    #access ul li.current-menu-item > a:hover,
    #access ul li.current-menu-parent > a:hover {
    	color: #000;
    }
  3. ldare2000
    Member
    Posted 1 year ago #

    That's great :-)

    Thank you very much,
    Louis

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.