-
ch18639
Hi there,
Is there a setting to control the menu item height for sticky navigation on mobile? I can’t seem to find it if there is.
Thanks in advance.
Charles
-
fernandoazarcon2
Hi there,
Increasing the Menu Item height in Appearance > Customize > Layout > Sticky Navigation should increase the height of the sticky nav correspondingly.
-
ch18639
Hi,
When I change the Sticky Navigation height, it changes it on desktop as well? My desktop and mobile menu heights are different.
Charles
-
fernandoazarcon2
I see. You can try adding this through Appearance > Customize > Additional CSS:
nav#sticky-navigation.is_stuck { min-height: 120px; }
Replace
120
with your preferred value. -
ch18639
Hi,
I’ve set the above value to 55px which is the menu item height for mobile but it doesn’t seem to have changed anything.
Charles
-
1. Have you cleared cache?
2. Is there any other CSS in the Additional CSS field? If so, can you try moving Fernando’s CSS to the top of the field to test?
And if the CSS is only for mobile, I would recommend adding a media query like this to wrap Fernando’s CSS:
@media(max-width:768px) { Fernando's CSS here }
Let me know 🙂
-
ch18639
Hi there,
I’ve cleared the cache and tried testing with the above CSS but still no luck.
Charles
-
fernandoazarcon2
Hi Charles,
For reference, can you share the link to the site in question?
-
ch18639
-
fernandoazarcon2
Can you provide admin login credentials as well through the Private Information field? I’ll check what’s causing it not to work.
- You must be logged in to reply to this topic.