Okay
  Public Ticket #584500
Menu hover & selected menu bold font
Closed

Comments

  • Steven started the conversation

    I would like for the menu hover and selected menu items to be bold. I see how to change the background color for hover, and the font size for all menu items, but I do not see how to do what I am trying to do.

    Thank you,

    Steven

  •  8,992
    Tahir replied

    Hey ,

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
    body header#top nav > ul > li > a:hover , body header#top nav .sf-menu > li.current-menu-item > a {
        font-weight: 700;
    }

    Best.



    ThemeNectar Support Team 

  • Tim replied

    This is great! Is there a way to stop the menu items from moving when hovering with the bold font? (i.e. when you hover because of bold text, other menu items slide to left slightly)

  •  8,992
    Tahir replied

    Hey Again,
    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :

    header#top .sf-menu li ul li a:hover {
        -webkit-transition: color 0.2s ease-in-out;
        -moz-transition: color 0.2s ease-in-out;
        -o-transition: color 0.2s ease-in-out;
        transition: color 0.2s ease-in-out;
    }
    

    This should help smooth it out.
    Best.


    ThemeNectar Support Team 

  • Tim replied

    Unfortunately this doesn't seem to change the behaviour....

    Please see our website top navigation menu for an example: http://magentaaudio.com.au

    Thanks again for the help

  •  8,992
    Tahir replied

    Hey Again,

    You custom css is causing the issue. Also try increasing your font size in Typography Section of Salient Theme Options if you want to make it bolder. Please remove this custom css: http://prntscr.com/amd9ht

    Best. 


    ThemeNectar Support Team