Jump to content

How to prevent a fixed element from scrolling over the footer?

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 2/21/2023 at 8:31 PM, 27web said:

Hi guys!

I think I need help with my site. 
I added a video with a fixed position to my home page. The footer is also fixed and reveals as you scroll down. 
So far so good, but when you scroll down, the fixed video shows up in front of the footer. Is there a simple solution to hide the video in the footer section? 

Thank you in advance!

https://circle-mushroom-aptx.squarespace.com/
PW:27km

You can try adding to Home > Design > Custom css

@media only screen and (min-width: 768px) {
  body:not(.sqs-edit-mode-active) #footer-sections {
    z-index: 9;
    position: relative;
  }
}

Support me by pressing 👍  or marking as solution if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.5214695a2ba276b2dfb37113d3b66ef3.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.