Jump to content

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

Go to solution Solved by Ziggy,

Recommended Posts

Posted

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

Posted

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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

It changed it but it didn't change quite the right part 😅

It's put the grey between the green line and the black - rather than switching out the white.

Nearly though!

Screenshot 2024-04-12 at 12.51.49.png

  • Solution
Posted

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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.