[Resolved] How to shift primary navigation and logo to left of the bar.

Home Forums Support [Resolved] How to shift primary navigation and logo to left of the bar.

Home Forums Support How to shift primary navigation and logo to left of the bar.

  • This topic has 7 replies, 3 voices, and was last updated 5 years ago by David.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #868330
    Divyanshu

    I want to shift menu and logo to the left and the search magnify to the right. like this
    Screenshot-14

    #868443
    David
    Staff
    Customer Support

    Hi there,

    can you link us to your site so i can provide some assitance. You can edit your original topic and use the Site URL field for privacy.

    #868628
    Divyanshu

    check now. Sent you site.
    And actually what happens is that whenever I shift my primary navigation to right my logo move to the left automatically. I want to make a menu like nerdwallet.com

    #868721
    Leo
    Staff
    Customer Support

    Can you try using this method:
    https://docs.generatepress.com/article/navigation-as-a-header/

    Then select navigation alignment to left?
    https://docs.generatepress.com/article/navigation-layout/#navigation-alignment

    That should get you really close.

    Note that we’ve made the navigation as a header an option in the next version of GP Premium which is already in release candidate 1 so quite stable:
    https://generatepress.com/gp-premium-1-8/

    #869027
    Divyanshu

    still not able to do it.

    #869161
    David
    Staff
    Customer Support

    With your menu set up that way then you could try this CSS:

    @media (min-width: 768px) {
        .inside-header {
            display: flex;
            align-items: center;
        }
        .main-navigation {
            flex: 1;
            margin-right: 0;
            margin-left: 1em;
        } 
    }
    #869392
    Divyanshu

    thanks David. Resolved.

    #869398
    David
    Staff
    Customer Support

    Glad we could be of help

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