[Support request] make custom menu stickye

Home Forums Support make custom menu stickye

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1174182
    Long

    Hi, I tried to replicate all the classes from the main navigation with the sticky option enabled to make the custom menu sticky. Do I need any extra JS to make it work? Thanks

    The code below is added via Hook, this page I turned off default main navigation already

    <nav id=”site-navigation” class=”main-navigation align-center” itemtype=”https://schema.org/SiteNavigationElement&#8221; itemscope=””>

    </nav>

    Thanks

    #1174533
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The sticky navigation script doesn’t work like that, unfortunately.

    Have you tried playing with position: sticky on your custom navigation element?

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