Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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;

    }

    cheers

    #94003

    Hi,

    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;
    }

    Regards,

    Ismael

    #94004

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

    .current-menu-item a {

    color: blue!important;

    }

    #94005

    Hi!

    Glad that Ismael could help you :)

    Regards,

    Peter

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.