[Resolved] secondary-navigation on Top

Home Forums Support [Resolved] secondary-navigation on Top

Home Forums Support secondary-navigation on Top

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1572418
    Frank Noack

    Example of a secondary-navigation

    Can you please give me a simple Code example for a secondary-navigation. The picture shows what I mean.
    Secondary Navigation

    LINK to Picture:
    secondary-navigation on Top

    Should I work here with the element module and CSS or the widget and CSS?

    I thank you very much
    Frank

    #1572559
    David
    Staff
    Customer Support

    Hi there,

    simply create your Menu with all of those links and set its location to Secondary navigation.
    You’re ‘Back to Windows’ menu item give it a CSS Class of align-left

    This explains adding CSS class to the menu:

    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

    Then add this CSS to your site:

    @media(min-width: 769px) {
        .secondary-navigation .main-nav {
            flex: 1;
        }
        
        .secondary-navigation li.align-left {
            margin-right: auto;
        }
    }
    #1572601
    Frank Noack

    Hello David,

    this works perfect.
    Do you also have the solution for the same secondary navigation for mobile devices without the Hamburger Menu Icon?

    This is what I mean!
    Secondary Navigation on Mobil

    Many Thanks
    Frank

    #1572622
    David
    Staff
    Customer Support
    #1572754
    Frank Noack

    Hello David,

    thank you for your effort!
    Everything works very well!

    Many Thanks
    Frank

    #1572802
    David
    Staff
    Customer Support

    Glad to be of help!

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