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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.