Free and Premium WordPress Plugins & Themes Forums WordPress Themes Booklium how to enable sticky menu
- This topic has 3 replies, 4 voices, and was last updated 1 year, 4 months ago by J. Davis.
- AuthorPosts
- October 28, 2021 at 12:09 pm #1206497Maurice CouwenbergParticipant
hello,
i use booklium theme for 2 sites. I changed the primary menu to the top in stead of side. Unfortunately it gets out of focus when I scroll down. How can i enable a sticky primary menu?
https://beachapartmentportugal.eu
thanks for your help
Maurice
November 2, 2021 at 6:05 am #1208182Andre FloresModeratorHello Maurice,
Add the following code under Appearance ->Customize ->Additional CSS:
#masthead { position: sticky; top: 0; z-index: 10; }
Regards,
AndreJuly 16, 2023 at 11:46 pm #1479763LaurentParticipantHi,
In addition of your reply, is it possible when menu is getting sticky to get a shrink effect (at least logo/nav menu reduces lightly?)Thank you
July 19, 2023 at 1:41 pm #1481070J. DavisKeymasterHi Laurent,
Thanks for your question. Unfortunately, it requires a more complex way to make a header sticky by using JS in order to change the class when the menu gets sticky and vice versa. We do not offer complex customization services for now. You may try to use a third-party plugin to make the header sticky. It might be helpful.
best regards,
John Davis - AuthorPosts
- You must be logged in to reply to this topic.