Jump to content

How to apply fixed/frozen Navigation in Moksha template on mobile?

Recommended Posts

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
  • Replies 3
  • Views 823
  • Created
  • Last Reply
  • 2 weeks later...
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.