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

    Hello!
    I have created a custom side menu and I’m having trouble getting the active menu item to show as red. I have the following entered in the child theme’s css:

    .widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a {
     color: #a81010 !important;
     font-weight: normal !important;
    }

    Could someone please assist? Thank you so much!

    #786673

    Hey!

    Please use following code

    #top .widget_nav_menu li.current-menu-item a {
        color: red!important;
    }

    You have used !important rule so many times in your custom CSS code so that might stop the code from applying. If that too does not work, please create a temporary admin login and post it here privately so we can look into it :)

    Best regards,
    Yigit

    #786736

    Worked perfectly, thank you Yigit :)

    #786747

    Hi!

    My pleasure Peanuttario :)
    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

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