Okay
  Public Ticket #232018
Header navigation vertical alignment
Closed

Comments

  • Eugene started the conversation

    Hello. How can I shift the header main navigation up or down? Is there an easy way to set the alignment to top or bottom, or to set a specific offset in pixels? Thank you.

  •   Tahir replied privately
  • Oliver replied

    Hello! Same issue here. How did you solve this? Thx! O

  •  1,075
    ThemeNectar replied

    Hey guys! To offset the nav you could use this in your Custom CSS box located in your Salient Options panel: 

     
    header#top nav > ul {
      position: relative!important;
      top: 20px!important;
    }
    

    Cheers

  • Chris replied

    This works fine if you don't have a sub-navigation but really messes with drop-downs and mega-menus. Can you please provide code to shift the top links down without breaking the subnavs?

    http://dev.birdconservancy.org/


  •  8,849
    Tahir replied

    Hey Chris,

    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 nav > ul > li > a,header#top nav > ul li#search-btn {
        padding-top: 78px !important;
        padding-bottom: 16px !important;
    }


    Thanks


    ThemeNectar Support Team