Hi there,
How do I make the full width submenu sticky, and stay at the top of a scrolling page, on mobile view?
Thanks
Hi marsh1984,
Please refer to the solution posted in these threads
https://kriesi.at/support/topic/sticky-sub-menu-on-mobile/#post-889668
Best regards,
Victoria
Thanks almost there except it sits behind the sticky top bar, can it sit below that?
@media only screen and (max-width: 767px) {
.responsive #top .av-submenu-container {
position: fixed !important;
top: 565px !important;
}}
Hi,
Where do you want to place the sub menu container? If you want it to display at the very bottom of the view port, use this css code.
@media only screen and (max-width: 767px) {
.responsive #top .av-submenu-container {
position: fixed !important;
top: calc(100% - 104px) !important;
}
}
Screenshot: https://imgur.com/a/eQjej9C
Best regards,
Ismael
Hi can it be placed below the sticky top bar menu? See screen shot. https://imgur.com/In0apcC
Hi,
Set the vertical position or the top margin of the submenu container to 68px.
.responsive #top .av-submenu-container {
position: fixed !important;
top: 68px !important;
}
Best regards,
Ismael
Dear All,
I also created a full with submenu on my site. Only two menus but on mobile it is on two rows. How can I arrange/force the menu in just one row on mobile devices and also make it sticky?
Thanks in advance.
Hi,
@darnott75: You can set the Mobile Menu Display settings of the Fullwidth Submenu element to the second option so that it displays a menu button. Unfortunately, you can’t make it stick on mobile view. If you have more questions, please open a new thread. We’ll close this one for now.
Best regards,
Ismael