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” itemscope=””>
<?php wp_nav_menu( array( ‘theme_location’ => ‘media-menu’, ‘menu_id’ => ‘menu-main’, ‘menu_class’=>’menu sf-menu’ ) ); ?>
</nav>
Thanks