Jump to content

Header won't stay transparent on mobile site

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

2 hours ago, TFWC said:

I'm trying to make the header transparent only on my mobile site. I also want it to stay transparent when you scroll.

 

 

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

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
17 hours ago, TFWC said:

Add to Design > Custom CSS

/* Header transparent */
@media screen and (max-width:767px) {
.header-background-solid {
    opacity: 0 !important;
}
}

 

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 12/5/2022 at 10:35 PM, TFWC said:

Amazing thank you! I changed the opacity to .75. Can I change the background from white to black? Just for the mobile site again.

Use this code

/* Header transparent */
@media screen and (max-width:767px) {
.header-background-solid {
    opacity: 1 !important;
	background-color: rgba(0,0,0,0.75) !important;
}
}

 

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.