[Resolved] adjustment on menu does not work with sticky menu

Home Forums Support [Resolved] adjustment on menu does not work with sticky menu

Home Forums Support adjustment on menu does not work with sticky menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1422380
    xavyconect

    Hello,

    I adjusted my main menu 80 pixels to the left with CSS:


    @media
    (min-width: 768px) {
    .main-navigation {
    margin-right: 80px;
    }
    }

    When scrolling down, the stick menu changes to the original position all the way to the right.

    How can I change this adjustment to the sticky menu as well?
    Thank you!

    #1422381
    Leo
    Staff
    Customer Support

    Hi there,

    Have you considered using this option?
    https://docs.generatepress.com/article/navigation-as-a-header/

    Might be what you are looking for.

    Let me know ๐Ÿ™‚

    #1422389
    xavyconect

    Hello,

    That did not work. (navigation as header)

    Is there any other way to control the position of the sticky menu? (pixels to the left)
    Perhaps via CSS?
    Thank you!

    #1422502
    Leo
    Staff
    Customer Support

    Try this:

    @media (min-width: 769px) {
        .main-navigation.has-sticky-branding.navigation-stick .inside-navigation {
            margin-right: 50px;
        }
    }
    #1423131
    xavyconect

    thank you!

    #1423134
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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