kerrylyons Posted August 30, 2019 Share Posted August 30, 2019 I see similar Qs have been asked a few times, but either the solutions don't work for me or they've not been responded to, and I'd LOVE some help! The majority of my site pages include banner images with white logos (https://theimperfectlife.co/), but my blog pages and privacy policy do not (https://theimperfectlife.co/playbook). I have a black switch-out logo uploaded to my files, but I'm just not sure what code will pull it to the white pages? Any ideas? The navigation itself seems to do this automatically though? :/ Link to comment
tuanphan Posted August 30, 2019 Share Posted August 30, 2019 @kerrylyons Add this CSS to Home > Design > Custom CSS /* Black Logo on Entire Site */ .Header-branding-logo { -webkit-filter: invert(1); filter: invert(1); } /* Keep White Logo on Home Page */ .homepage .Header-branding-logo { -webkit-filter: invert(0); filter: invert(0); } 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
kerrylyons Posted August 31, 2019 Author Share Posted August 31, 2019 I was v.excited that this worked, then I'm afraid I spoke too soon @tuanphan :/ I don't just need the white logo on the homepage, but on all inner pages with banner images too (like the homepage). I don't suppose you know of any super-clever way to enforce that do you? 0:) Link to comment
kerrylyons Posted August 31, 2019 Author Share Posted August 31, 2019 I was v.excited that this worked, then I'm afraid I spoke too soon @tuanphan :/ I don't just need the white logo on the homepage, but on all inner pages with banner images too (like the homepage). I don't suppose you know of any super-clever way to enforce that do you? 0:) Link to comment
tuanphan Posted August 31, 2019 Share Posted August 31, 2019 @kerrylyons Each page have different ID. You can use this code to change logo color (just an example). Replace body#....410 with Page ID. body#...410 is Playbook ID. body#collection-58008ab4e58c6267bfeab410 .Header-branding-logo { -webkit-filter: invert(1); filter: invert(1); } See how to find Page ID. https://beaverhero.com/squarespace-how-to/#HowtoFindPageID 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
Archived
This topic is now archived and is closed to further replies.