Jump to content

Conflicting Header CSS

Recommended Posts

Site URL: https://magnolia-shark-g9jd.squarespace.com/

I've set up the header to be transparent on header images and on scroll it turns dark blue. On blog pages I need the header to be blue before scroll. Something in my CSS is conflicting and I've fiddle around with removing the important tag but I can't figure out how to make the code not conflict.

Password to the site is: fiossftw

Here's the CSS I'm using:

.Header, Main Main--blog-item {
  background: hsla(202, 100%, 27%,.9)!important;
  position: fixed!important;
  z-index: 1000;
  width: 100%;
    padding-bottom: 15px;
}

.Header {
  background: hsla(202, 100%, 27%,.0)!important;
  position: fixed!important;
  z-index: 1000;
  width: 100%;
    }

.Header.scrollNav {
  background: hsla(202, 100%, 27%,.9)!important;
  padding-bottom: 15px;
}

Thanks in advance for any guidance. 

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

What is access password?

this code for?

.Header, Main Main--blog-item {
  background: hsla(202, 100%, 27%,.9)!important;
  position: fixed!important;
  z-index: 1000;
  width: 100%;
    padding-bottom: 15px;
}

 

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.