Jump to content

How to change header colour on one page

Recommended Posts

1 hour ago, kobe24 said:

Hello! I want to have a transparent header on my homepage and a red header on every other page. However Squarespace doesn't allow that option. Could someone please help me with this? 

Could you share your site url?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Add the following to Design > Custom CSS.

/* begin transparent background for header on homepage */

  body[data-menu-overlay-theme-switcher="true"].homepage .header.bright {
  
    background-color : transparent;
    
    }
    
  .homepage .header-title-logo {
  
    background-color : red;
    padding : 8px;
    
    }
    
  .homepage .header-nav-list {
  
    background-color : red;
    padding : 0.5em 0.75em
    
    }

  /* end transparent background for header on homepage */

This is for a v7.1 site.

Once the header background was transparent I made some quick styling decisions about how to get the logo and navigation to show up again.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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.