Jump to content

How can I make my Site Header background transparent?

Recommended Posts

  • Replies 7
  • Views 2.9k
  • Created
  • Last Reply

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

Link to comment

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!

Link to comment

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.