CamilleM Posted November 13, 2019 Share Posted November 13, 2019 Hi, I use the Moksha template and wanted to have a fixed/frozen navigation header when scrolling down, allowing visitors to still see the navigation bar even if they scroll down. I found a way to do it using custom CSS, where I added the below coding I found on this forum and it seems to work so far on a desktop version, however it doesn't work on mobile devices... any clue on what I can do ? Thanks for your help!! Camille This is the Custom CSS code I used for desktop: header { position: fixed; width: 100%; z-index: 4; } Link to comment
tuanphan Posted November 13, 2019 Share Posted November 13, 2019 header.Header, .Mobile.loaded { position: fixed; top: 0; left: 0; right: 0; z-index: 999; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
CamilleM Posted November 27, 2019 Author Share Posted November 27, 2019 Hi Tuanphan, Thanks for the coding, I tried but it doesn't work 😞 Thanks anyway for your help!!! Link to comment
tuanphan Posted December 7, 2019 Share Posted December 7, 2019 On 11/27/2019 at 10:42 PM, CamilleM said: Hi Tuanphan, Thanks for the coding, I tried but it doesn't work 😞 Thanks anyway for your help!!! Can you share link to your site? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.