GemmaErnst Posted September 7, 2022 Share Posted September 7, 2022 Site URL: https://koi-turtle-f3eh.squarespace.com/ Hello! I am trying to change the colour of the header and footer only on the home page - I have tried targeting the collection id and also injecting into the page header but I cannot for the life of me figure it out. I have attached an image below - I need the header to match the colour in the logo but ONLY for the home page. Here is the link to the site https://koi-turtle-f3eh.squarespace.com/ Thank you in advance! Link to comment
Ziggy Posted September 7, 2022 Share Posted September 7, 2022 (edited) Hi, try this code, it should work for just the homepage, I think that the colour is correct, but you can adjust the #HEX if needed. #collection-63169d1b2a89ee474abc6b88 { .header { background: #2B2A29; } #header a { color: #ffffff !important; } #footer-sections .section-background { background: #2B2A29; } } Edited September 7, 2022 by Ziggy 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? Link to comment
GemmaErnst Posted September 8, 2022 Author Share Posted September 8, 2022 Thank you so much for your help @Ziggy It still doesn't seem to be working. I can't see anything in my CSS that would be conflicting? Link to comment
Ziggy Posted September 8, 2022 Share Posted September 8, 2022 If you can contact me via my website I'll see what I can do to help you with this, I'll need access to the dashboard to effectively get this working: https://squarefortytwo.com/ 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? Link to comment
tuanphan Posted September 9, 2022 Share Posted September 9, 2022 Use this new CSS code /* Homepage */ body.homepage .header-background-solid { background-color: black !important; } body.homepage footer.sections .section-background { background-color: black !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment