Jump to content

[Share] How to remove Header Color on Scroll

Recommended Posts

To remove Header Color on Scroll, you can use these CSS codes to Website Tools > Custom CSS.

#1. All Pages

header#header.shrink {
    background-color: transparent !important;
}
header#header.shrink .header-background-solid {
    opacity: 0 !important;
}

image.png.360d00edac77d6087f8e75dc3f05e5d6.png

#2. One Page

You can find Page ID

Then use CSS code like this

#collection-6673f2e18432c25013aee99f {
  header#header.shrink {
      background-color: transparent !important;
  }
  header#header.shrink .header-background-solid {
      opacity: 0 !important;
  }
}

#3. Desktop Only

@media screen and (min-width:768px) {
  header#header.shrink {
      background-color: transparent !important;
  }
  header#header.shrink .header-background-solid {
      opacity: 0 !important;
  }
}

#4. Mobile Only

@media screen and (max-width:767px) {
  header#header.shrink {
      background-color: transparent !important;
  }
  header#header.shrink .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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Replies 0
  • Views 134
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

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.