Sly198 Posted January 16, 2020 Share Posted January 16, 2020 Hello, I created a fix menu in Mojave, see code below. Now I would like that the sliders I have on my content pages goes under the fixed menu, and not over it.Is there a code for it? Thanks for your help, .Header, .Mobile { width: 100%; /* for IE and Edge */ position: fixed; /* for IE and Edge */ position: -webkit-sticky; /* For Safari 6.1+ */ position: sticky; /* Latest browsers */ top: 0; z-index: 4; } Sly Link to comment
tuanphan Posted January 18, 2020 Share Posted January 18, 2020 For the community to help, we generally need a working link to the page on your site. JackieWritten 1 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
JackieWritten Posted December 3, 2021 Share Posted December 3, 2021 Interested in having this feature, but am not familiar enough with code to know how to use this properly. I'd like to fix the menu to the top of the screen when people scroll down. Any coding pros or mojave users have advice? My site is https://www.jackieminton.com/ Thanks! Link to comment
tuanphan Posted December 4, 2021 Share Posted December 4, 2021 On 12/3/2021 at 10:45 AM, JackieWritten said: Interested in having this feature, but am not familiar enough with code to know how to use this properly. I'd like to fix the menu to the top of the screen when people scroll down. Any coding pros or mojave users have advice? My site is https://www.jackieminton.com/ Thanks! Add to Design > Custom CSS header.Header.Header--top { position: sticky; position: -webkit-sticky; top: 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment