Jump to content

Transparent Header on Homepage Only!

Recommended Posts

  • Replies 2
  • Views 378
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 3/9/2022 at 9:57 AM, oswaldtay said:

Site URL: https://impact-demo.squarespace.com/

Hi,

I'm installing a new template on an existing site and I want the header on the homepage to be transparent while the header on all other pages is colored in. What custom CSS can I use to do this? I've looked through other threads and nothing is working.

The template I am using is 'Impact'. Here's the link to their demo site for that template.

Thanks.

If you use Impact, add this to Design > Custom CSS > Then save & reload the site

/* Homepage header transparent */
body.homepage header.Header.Header--top {
    position: absolute;
    z-index: 9999;
    left: 0;
    width: 100%;
    background-color: transparent;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.