Home Forums Pro Themes University Hub Pro keep same menu colours when menu is “sticky”

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #144633
    Alexei
    Participant

    Hello,

    When I select the mail menu as “sticky” the color of menu items change to white when I scroll the home page.
    How can I keep the same menu colours (text, background, hover color) for the main menu independent from scrolling?

    Thank you

    #144660
    Psink
    Keymaster

    Hello Alexei,

    Please add this CSS in the Additional CSS

    
    .site-header.fixed #main-nav {
        background: #fff;
    }
    
    .site-header.fixed #main-nav a {
        color: #000;
    }
    
    .site-header.fixed #main-nav a:hover {
        color: #fff;
    }
    

    Have a great day

    Regards,
    Psink

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.