[Resolved] Slideout navigation logo

Home Forums Support [Resolved] Slideout navigation logo

Home Forums Support Slideout navigation logo

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1531491
    Bernhard

    Hello,
    I want to use the slideout menu for desktop and mobile. For this, I have set the mobile breakpoint in the primary navigation to 2.000 px, is this the right way to do it?

    The problem I have now is that the hamburger menu (on the left) covers the navigation logo. I would like therefore to have the navigation logo in the center. How can I do this?

    Furthermore, in the sticky navigation the navigation logo is on the left and the hamburger menu on the right. This is confusing.

    See the actual setup on my test page.

    #1531560
    Leo
    Staff
    Customer Support

    Hi there,

    I want to use the slideout menu for desktop and mobile. For this, I have set the mobile breakpoint in the primary navigation to 2.000 px, is this the right way to do it?

    You shouldn’t need to change the breakpoint.

    Just make sure the off canvas panel is set to ON, then follow the instruction here:
    https://docs.generatepress.com/article/off-canvas-panel-overview/#use-off-canvas-menu-only

    #1531802
    Bernhard

    Now I have the hamburger button on desktop on the right and on mobile on the left. In both cases the navigation logo is not there. In the sticky navigation is the hamburger button on the right and the navigation logo on the left.

    Is it possible to have a unique layout with the hamburger button on the left, the navigation logo in the center and the search button on the right?

    #1532522
    Leo
    Staff
    Customer Support

    The navigation logo is a very old option and should not be used anymore.

    Can you remove that and upload a logo in the site identity field?

    Please also disable the caching plugin when we are helping.

    Thanks

    #1532594
    Bernhard

    OK, done. I’ve prepared also a temporary access.

    #1532706
    Leo
    Staff
    Customer Support
    #1532717
    Bernhard

    Done.

    #1532723
    Leo
    Staff
    Customer Support

    Sorry one more thing.

    Can you use the Flexbox version of the theme under Customizer > General?

    It should make a layout like this much easier.

    #1532729
    Bernhard

    OK, done.

    #1532736
    Leo
    Staff
    Customer Support

    Thanks. Now try this CSS:

    .inside-navigation .navigation-branding {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0 !important;
    }
    @media (min-width: 769px) {
        .main-navigation .menu-bar-items {
            flex: 1;
            flex-direction: row-reverse;
        }
        .main-navigation .menu-bar-item.slideout-toggle {
            margin-right: auto;
        }
    }
    @media (max-width: 768px) {
        .main-navigation.has-branding .menu-toggle {
            order: -1 !important;
        }
    }
    #1532751
    Bernhard

    OK, this works on desktop and tablet, but on mobile the toggle is still on the right.

    #1532798
    Leo
    Staff
    Customer Support
    #1532948
    Bernhard

    No change, on mobile the toggle is still on the right.

    #1533672
    Leo
    Staff
    Customer Support

    Edited it slightly:
    https://generatepress.com/forums/topic/slideout-navigation-logo/#post-1532736

    Please try again.

    Let me know 🙂

    #1533788
    Bernhard

    Hi Leo,
    yes, now it works. Great :).

    Some more questions:
    1. The hamburger button has the correct color, but when the navigation is slided out, the close button “X” is white. How can I configure this.

    2. How can I set the navigation logo height? The actual height of the logo is 103px and I don’t want to have a very big file. The logo actually is shown big only when I set the menu item height in the primary navigation to the double.

    3. In the slideout menu, how can I configure the width of the background behind the menu and how the color of the overlay on the right.

    Thank you.

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