Jump to content

Custom fixed element is overlapping mobile navigation

Recommended Posts

Posted

I added a custom, fixed <div> with some text on my home page.  It looks and works great, except for in mobile view when the mobile navigation burger is clicked and the menu slides out.  The fixed <div> that I created is on top of the menu-- see image below.  

I have tried to find every CSS selector to change the z-index so that the activated navigation menu is on top of everything else, but have had no luck.  Can anybody help? 

Screen Shot 2022-12-20 at 1.18.27 PM.png

  • Replies 1
  • Views 221
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
16 hours ago, JMC22 said:

I added a custom, fixed <div> with some text on my home page.  It looks and works great, except for in mobile view when the mobile navigation burger is clicked and the menu slides out.  The fixed <div> that I created is on top of the menu-- see image below.  

I have tried to find every CSS selector to change the z-index so that the activated navigation menu is on top of everything else, but have had no luck.  Can anybody help? 

Screen Shot 2022-12-20 at 1.18.27 PM.png

Can you share your URL site with the protected password so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.