Site logo

[Support request] Nav Bar

Home Forums Support [Support request] Nav Bar

Home Forums Support Nav Bar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1783360
    EJ

    Hi, how do I make my navbar look like this?

    https://kinsta.com/

    #1783451
    David
    Staff
    Customer Support

    Hi there,

    do you require the Search and Login items ?

    #1783508
    EJ

    I require the login item. I also want to add a button called Free Strategy Session to the right of the login item

    #1784329
    David
    Staff
    Customer Support

    First off – add the additional login and free strategy buttons to the nav.
    Simplest way is to create a new Block Element:

    https://docs.generatepress.com/article/block-element-overview/

    Using the GenerateBlocks plugin you can add buttons ( with or without icons ).
    Select the Hook: menu_bar_items to display them in that place.

    Once they’re in place i can provide the CSS for that layout.

    #1788824
    EJ

    Okay, I added the login and free strategy buttons to the nav

    #1789251
    David
    Staff
    Customer Support

    Try adding this CSS:

    @media(min-width: 1024px) {
        .nav-float-right #site-navigation {
            flex: 1;
        }
    
        #primary-menu {
            margin-left: auto;
            margin-right: auto;
        }
    }
    #1790557
    EJ

    The navbar before scroll seems to be aligned more to the left, then on scroll its perfectly centered

    #1790942
    David
    Staff
    Customer Support

    Easiest solution would be to enable the Navigation as Header in Customizer > Layout > Header – then the transition between initial and sticky nav will be identical.

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