Jump to content

Change footer background colour for blog pages only?

Go to solution Solved by CassAggett,

Recommended Posts

6 hours ago, Jen__ said:

I would like to have a specific background colour for the footer throughout my website.

However, I'd also like the footer background to be a different colour on all blog pages. Is it possible to achieve this?

Yes. Can you share your website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • Solution

Hi @Jen__, yep you can. Paste the below code in your Custom CSS panel. Change the lightblue colour to what you're after:

// footer color blog pages //
body[class*=collection-type-blog] {
  footer .section-background {
    background-color: lightblue !important;
  }
}

 

If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆

Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business.

WEBSITEINSTAGRAM

 

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.