Jump to content

Sticky Section text transparent?

Recommended Posts

Site URL: https://www.brayand.co/new-page-2

I created some CSS so this section is sticky but have run into an issue, when it becomes "sticky" the text is transparent. 

Here is the CSS i've used to create the sticky header:
section[data-section-id="62e2b90cc4b6f5378c2d053c"] { 
position:sticky!important;
top:0;
z-index:99!important;
 background:#FFF!important
}

 

How can I adjust this so the text is not transparent and does not show the sections behind it?
 

Link to comment
  • Replies 6
  • Views 309
  • Created
  • Last Reply

Top Posters In This Topic

20 hours ago, jesseatkinson said:

Site URL: https://www.brayand.co/new-page-2

I created some CSS so this section is sticky but have run into an issue, when it becomes "sticky" the text is transparent. 

Here is the CSS i've used to create the sticky header:
section[data-section-id="62e2b90cc4b6f5378c2d053c"] { 
position:sticky!important;
top:0;
z-index:99!important;
 background:#FFF!important
}

 

How can I adjust this so the text is not transparent and does not show the sections behind it?
 

I check that it is fine. Have you figured it out?

image.thumb.png.1eafb0e1db1b653469afaced502dd642.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
On 7/30/2022 at 3:17 AM, jesseatkinson said:

I have, thank you! 
Another question, on mobile the sticky menu size is too small. Is there a way to make it so on mobile the menu looks like the screen shot where you can scroll across the options?

Screen Shot 2022-07-29 at 2.17.45 PM.png

The page doesn't exist.

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!)

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.