Jump to content

Code only working while in Custo CSS

Recommended Posts

Site URL: https://www.philcarriere.ca/


    I wanted a fixed top header and manage to figure out the coding for it. Everything works perfectly, BUT ... I pushed my luck as I wanted to add some transparency to the header. Everything works fine while editing, but as soon as I am out of the Custom CSS editor and actualizing the page, I lose the transparency.   I am far from being an expert, and I am sure there is a simple solution/explanation to my issue. Thank you for your help.  

.Header.Header--top {
  position: fixed;
  background: #fff9!important;
  top: 0px;
  box-shadow: 0px 2px 3px rgba(0,0,0,0.1)

BTW, the ULR supplied is my current website, the issue is with a new version which is not live yet. 


Thank you!



Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.