Hi, I have spent ages on this with no luck so far.
I am using ICON and have Fixed Top
When site first loads, logo is top with menu below, then as user scrolls the menu goes to the top (because Fixed Top is chosen). This is the functionality I want.
I have recently added MobileMenu plugin. All works fine, except that having this disables the Fixed Top. This is obviously a known issue, because in their plugin settings they have an option:
“Sticky Html Elements: If you are having issues with sticky elements that don’t assume a sticky behaviour, enter the ids or class name that identify that element.” … so I added “.x-navbar”: https://prnt.sc/o5vlj6
This does 2 things:
1 - It enables Fixed Top again, this is GOOD
2 - It makes the menu invisible initially before scroll happens… there is a white space underneath logo where menu should be … once user scrolls, then menu snaps into place at the top, this is BAD (obvs, because user needs to see menu straight away)
I need it to do #1 but not do #2.
I thought it would be a simple matter of setting "display:block: but when I look in the backend the .x-navbar element is not there at all when site first loads, so I can’t see the CSS I need to target.
Page location and login details in private post.
Thanks so much,