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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

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
On 8/1/2022 at 5:56 AM, jesseatkinson said:

Thank you for responding! 
the new link is: https://www.brayand.co/new-services

It looks fine to me. Did you solve problem?

image.thumb.png.569c1f0f20a9b68876551d732a64add9.png

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

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.