If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #17042

    Hi there – I can’t change the menu text rollover or active state text color. I’ve tried adding this to my child theme style.css and then I tried to change the layout.css and nothing is working!.

    I don’t understand where the color is coming from – I haven’t selected in the theme color options.

    this is what I’m trying to do

    .main_menu ul:first-child > li.current-menu-item > a, .main_menu ul:first-child > li.current_page_item > a{

    /*border-bottom: 2px solid;*/ /*changed this line*/

    color: #f59221;





    You can do this for the hover state

    .menu li.menu-item a:hover {
    color: red!important;

    For the current menu item, you can add this

    .current-menu-item {
    color: blue!important;




    ok – thanks – the first one worked – I had to adjust the second one

    .current-menu-item a {

    color: blue!important;




    Glad that Ismael could help you :)



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘can't change the menu link or a:hover state’ is closed to new replies.