Problems and questions about sticky menus

[ad_1]

I could find a solution for 1 and 2 by splitting the the submenu into 2 columns, here is the code if someone need it: ( i’m not an expert in css, played with some codes found on the internet )

I have no idea how it happened but the menu is sticky now on mobile…

.is-position-sticky ul.wp-block-navigation-submenu {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

For problem 3, i solved it with CSS:

.wp-block-navigation-submenu {
    z-index: 999;
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer