ccrews Posted January 15, 2021 Posted January 15, 2021 Site URL: http://www.courtney-crews.com/ Hi, Is there a way to have the navigation in mobile ishimoto to stay fixed at the top? So that when scrolling the menu is always accessible? I've tried this: /* Fixed Header - Mobile */ div#mobileMenuLink { position: fixed; left: 0; right: 0; z-index: 999; } However then the navigation covers the site title. Thanks
tuanphan Posted January 18, 2021 Posted January 18, 2021 Try this CSS /* Fixed Header - Desktop */ header#header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 999; } div#pageWrapper { margin-top: 100px; } /* Fixed Header - Mobile */ div#mobileMenuLink { position: fixed; 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.