[Resolved] sticky navigation width

Home Forums Support [Resolved] sticky navigation width

Home Forums Support sticky navigation width

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2055464
    Gurer

    Hi,
    I want to make the sticky navigation full width same as my header. Is there an option?
    Thanks

    #2055477
    David
    Staff
    Customer Support

    Hi there,

    there is an option but it gets hidden, so follow these steps:

    1. Go to Customizer > Layout > Primary Navigation.
    1.1 switch the Navigation Location to Below Header ( this is a temporary change ).
    1.2 You will now see above the Navigation Width and Inner Navigation Width. Set the former to Full Width:

    https://docs.generatepress.com/article/primary-navigation-layout-overview/

    This gets applied to the Sticky Nav as well.

    1.3 Now change the Location back to Float Right.

    #2055483
    Gurer

    Done perfect!
    But there is a slight padding difference between sticky and header now, how can I equalize this?
    Many Thanks

    #2055496
    David
    Staff
    Customer Support

    If you don’t want to adjust the Customizer > Layout > Header –> Padding then use this CSS:

    .main-navigation.is_stuck .inside-navigation {
        padding: 0 40px;
    }

    That will add the 40px padding to the stick nav.

    #2055499
    Gurer

    Perfect, thanks.

    #2055513
    David
    Staff
    Customer Support

    You’re welcome

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