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?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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 the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.