Okay
  Public Ticket #1961420
Secondary Nav Styling
Closed

Comments

  • ktstone73 started the conversation

    Can you please tell me how to style the secondary header nav so that the background color is blue (#004a7c), the text is white and right aligned, and for it to be sticky like the main nav. Picture attached for reference. Thanks.

  •  8,996
    Tahir replied

    Hey ,

    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):

    div#header-secondary-outer {
        background: #004a7c !important;
        color: #fff !important;
    }
    body #header-secondary-outer .nectar-center-text {
        text-align: right !important;
    }

    Thanks


    ThemeNectar Support Team 

  • ktstone73 replied

    Thank you Tahir, we are almost there. Is there a way to make the text align neatly with the edge of the content container? It is currently inset a little. Also was there an option to make it sticky? Thanks