Jump to content

Edit the Colours of the Divider in the Site Footer for Homepage Only

Go to solution Solved by Ziggy,

Recommended Posts

Hi ☺️

I've added a divider in a blank section on the top of my site footer. I need the colours, however, to be different for the homepage than they are on the other sections of the website (e.g. Our Thoughts).

https://www.thisisgoodwork.org/

On the homepage I need the divider to be: grey, green line, black

On the other pages on the website, like Our Thoughts, I need it to be: white, green line, black

Currently it's all set to white, green line, black (which looks silly on the homepage) so how do I target just the homepage and change the divider colours?

Thanks!

Screenshot 2024-04-12 at 10.32.20.png

Screenshot 2024-04-12 at 10.31.58.png

Link to comment

Try this in Custom CSS:

#collection-655b50b045a13147527cba9b {
  section[data-section-id="6614f78973b88f33805c6976"] {
    .page-section .section-border {
      background-color: #e1dfd9;
    }
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
16 minutes ago, goodwork said:

I just added it but it doesn't seem to have worked. 😕

Try this adjustment:

#collection-655b50b045a13147527cba9b {
  section[data-section-id="6614f78973b88f33805c6976"] {
    background-color: #e1dfd9;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • Solution

Haha, that's not right!

Try this:

#collection-655b50b045a13147527cba9b {
  section[data-section-id="6614f78973b88f33805c6976"] {
    :not(.has-background) .section-background {
      background-color: #e1dfd9 !important;
    }
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
Just now, goodwork said:

Nailed it!

Thank you! ☺️

Happy to help!

Thanks for marking my post as the solution, can you give it a like as well?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.