Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #586426

    Hello,
    Please check http://www.fysio-evident.nl/wp
    I’ve added this code to change the color of the current menu item:

    .current-menu-item > a {
    color: #D5523E!important;
    }

    It’s not working so obviously I’m doing something wrong. Can you help me with this issue?

    Thanks for your answer!

    Martine

    #586944

    Hi Martine,

    Please try this instead:

    .current-menu-item a .avia-menu-text {
    color: #D5523E !important;
    }

    Best regards,
    Rikard

    #586964

    Yes! That works! Thanks Rikard!

    #586998

    Just one more question… On this page: http://www.fysio-evident.nl/wp/knieklachten-anatomie/
    there’s a second menu on the left. I would like to make this menu work the same as the main menu: on hover the red line beneath the item and the same red color for the current menu item. No grey color on the current menu item like it is now.

    Is this possible?

    #587069

    Hey!

    Please add following code to Quick CSS

    .widget_nav_menu ul:first-child>.current-menu-item>a, .widget_nav_menu ul:first-child>.current_page_item>a {
        color: #D5523E !important;
    }

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.

    Best regards,
    Yigit

    #587076

    Thanks Yigit! Now the current menu item has the red color!

    Is it also possible to create a red line when hovering over the menu item (like there’s a red line when hovering over the main menu items)?
    And is it possible to delete the grey backgroundcolor from the current menu item?
    Thanks for your help!

    #587106

    Hey!

    Please add following code to Quick CSS as well

    .sidebar_left .widget_nav_menu ul:first-child>.current-menu-item, .sidebar_left .widget_nav_menu ul:first-child>.current_page_item, .sidebar_left .widget_nav_menu ul:first-child>.current-menu-ancestor { 
    background: transparent !important;
    box-shadow: none !important; 
    }
    .widget_nav_menu a:hover {
        text-decoration: underline;
    }

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.

    Cheers!
    Yigit

    #587394

    Great! Thanks Yigit!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘current menu item’ is closed to new replies.