Support » Themes and Templates » Allign secondary menu

Allign secondary menu

  • How can I align the secondary menu at the top of the theme with the primary menu just under the header?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins


    Forum moderator

    Are you familiar with CSS?
    Are you using a Child Theme, or Custom CSS/Styles plugin?

    Hi thank you for your help

    I am not really familiar with CSS. I have hacked the Admired theme by trial and error until I got the author and post dates to disappear. Here is my link: http://wireless-cctv.co.za/

    Now I would like to center the top nav links. Is there a way just to ad custom CSS code?



    Forum Moderator

    It’s not going to be simple to do that–especially because your theme is responsive. Generally, setting a width and then using “margin: 0 auto;” is the way to center block elements — but then you’ll have background issues.

    Adding padding-left: 10%; to this code:

    #nav-menu {
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
        display: block;
        float: left;
        margin: 0 auto;
        width: 100%;
        padding-left: 10%;

    helps a bit — but it’s not perfect when the screen size changes…

    Thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allign secondary menu’ is closed to new replies.