Okay
  Public Ticket #2047069
How can I remove current menu item CSS in mega menu
Closed

Comments

  •  3
    Caleb started the conversation

    Hi,

    How would I be able to remove the current menu item CSS from the mega menu. I would like the current menu item effect in the main menu but I'd like to have no current menu item effect in the mega menu.

    Does that make sense? Thanks!

  •  3
    Caleb replied

    FYI: I am moving the site to a new domain tonight, so if the URL I provided earlier doesn't work then the site will be here: https://www.christian-internet.com/. Thanks!

  •  8,994
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    body #top nav .sf-menu .megamenu ul .current_page_item>a{
        color:#000 !important;
    }

    Thanks


    ThemeNectar Support Team 

  •  3
    Caleb replied

    Thanks! That worked. I also added:

    body #top nav .sf-menu .megamenu ul .current_page_item>a:hover{color:#66b85d !important;}

    to make sure the hover effect still worked for current menu items.