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
  • Views 468
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

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