Jump to content

How to make the header semi-transparent only on mobile view

Recommended Posts

7 hours ago, Poppyseeds said:

Site URL: https://www.thehairranch.com/

Hello!

I'm trying to adjust the opacity of the white header on the mobile site.

Tried all sorts of things. Nothing working.

Any ideas?

MOBILE HEADER OPACITY.PNG

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .header-border {
    background:  transparent !important;
  }

  section:first-child {
    margin-top: 0 !important;
  }
  .header-background-solid {
    background: rgba(255,255,255,0.7) !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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 1/16/2022 at 6:02 AM, bangank36 said:

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .header-border {
    background:  transparent !important;
  }

  section:first-child {
    margin-top: 0 !important;
  }
  .header-background-solid {
    background: rgba(255,255,255,0.7) !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

 

IT WORKED PERFECTLY!

See photo...

 

 

882015757_MOBILEHEADEROPACITY_ACTIVE.thumb.PNG.7c49929626197efed9861ceb650a0e55.PNG

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.