• Well it works just for the home page!

    But even though style.css has the following lines in it will not work for other pages.

    #access ul li.current_page_item > a,
    #access ul li.current-menu-ancestor > a,
    #access ul li.current-menu-item > a,
    #access ul li.current-menu-parent > a {
    	color: #000;
    	background-color: #FFFFFF;
    }
    }
    * html #access ul li.current_page_item a,
    * html #access ul li.current-menu-ancestor a,
    * html #access ul li.current-menu-item a,
    * html #access ul li.current-menu-parent a,
    * html #access ul li a:hover {
    	color: #000;
    	background-color: #FFFFFF;
    }

    I have used the menu widget and added my own menu in the primary space if that is a help.
    Does anyone have a fix please?

  • The topic ‘Twenty Ten – current-page-item not working’ is closed to new replies.