Hi there,
trying to incorporate two full width submenu in a page and would like the second one to stick just under the first one when a user scrolls down the page. At the moment the second one is hiding the first one as it has the same top value once the position becomes fixed. Where in the code can I customise the top value for a second full width submenu? Or is there another better solution?
Thanks in advance!
Hey koszachos,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
Sure, is it enough if I show you a screencast of how it looks at the moment when you have two full width submenu underneath one another? Here it is http://www.screencast.com/t/GDItao62
As you can see the second one hides the first one as they have the same top value when scrolled and position becomes fixed.
If this is not enough let me know. Thanks
Hi,
I tested creating a full-width sub-menu with a fixed width so that it formed two rows on my localhost
this seems to be similar to what you are trying to do with two of them stacked.
This is the css I used:
#sub_menu1 #av-custom-submenu-1 {
max-width: 700px !important;
width: 700px !important;
margin: auto !important;
}
you may need to adjust the menu ID’s for it to work for you. If you would like some assistance with this please link to your page so we can investigate your ID’s
Best regards,
Mike