WordPress.org

Ready to get started?Download WordPress

Forums

Virtue
[resolved] center logo but keep menu right-aligned (8 posts)

  1. topherbeats
    Member
    Posted 3 months ago #

    awesome theme. seriously great work.

    i want the logo center-aligned, but without the menu dropping underneath the logo - instead just having the menu right-aligned on the same level as the logo, like:

    -----------[LOGO]-----------
    -----------[MENU]----------- <---- no :(

    -----------LOGO]------[menu] <---- yes :)

  2. chris1design
    Member
    Posted 3 months ago #

    Hi Topherbeats,

    It would help me if you give the Url of your site so I can send you the code to put the menu on the right. Thanks! Chris

  3. topherbeats
    Member
    Posted 3 months ago #

  4. chris1design
    Member
    Posted 3 months ago #

    Hi Topherbeats,

    Here's some code I've found that will place your logo in the center and keep the nav bar on the right:

    #nav-main {
      position: absolute;
      top: 0px;
      right: 0px;
    }
    
    #thelogo {
      position: absolute;
      left: 425px;
    }

    You just have to add this code to your style sheet or custom.css file. Hope it solves your problem.

  5. topherbeats
    Member
    Posted 3 months ago #

    This did the trick. Thanks, Chris!

  6. Kadence Themes
    Member
    Theme Author

    Posted 3 months ago #

    Umm, not a good idea, this won't work on mobile.

    Try setting your header with the logo in the center and the menu below then add this:

    #nav-main {
    position: absolute;
    top: -50px;
    right: 0;
    }

    Also make sure you set up a mobile menu.

    Kadence Themes

  7. topherbeats
    Member
    Posted 3 months ago #

    that works better. thanks, mate. much appreciated.

  8. luukip
    Member
    Posted 2 months ago #

    Do you know how to split menu by logo. I can position logo in center, but no idea how to put 3 menu position on left site and the other 3 on right one...

Reply

You must log in to post.

About this Theme

About this Topic

Tags