Jump to content

How can I make my Site Header background transparent?

Recommended Posts

  • Replies 7
  • Views 3.2k
  • Created
  • Last Reply
Posted

Hi

Use this code in Design -> Custom CSS

body.tweak-transparent-header:not(.header--menu-open):not([data-menu-overlay-theme-switcher="true"]) .header-announcement-bar-wrapper.dark {
    background-color: transparent !important;
}

Please use the like button if it helps you!

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Posted

Hey @IXStudio, I've just got the same question, I've pasted the css you've given under Design > Custom CSS but it still isnt showing as transparent, am I doing something wrong? Would you be able to assist me with this?

image.thumb.png.15ab91ab4c2fedeb6b7a94f1b9162158.png

Posted

Hey Jans, I had the same issue but I believe you need to check that the section immediately below your header, under settings and 'color', that it is set to 'dark'. Do check the attached video.

If the section below your header is set to 'white', you can either change the code part to 'announcement-bar-wrapper.white'

Or simply switch from color settings to white.

Video also here: 

 

Hope that helps!

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.