Emma456 Posted September 14, 2022 Share Posted September 14, 2022 Site URL: https://www.stampdesignco.com Hello, I'm desperately needing some help. I've managed to Invert my logo colour on my homepage only (so it now displays as white), but it's still displaying as Black when viewed on Mobile and Tablet. Can anyone help at all? Thanks so much, Emma Link to comment
Ziggy Posted September 14, 2022 Share Posted September 14, 2022 You're targeting the desktop logo, but you also need to target the mobile logo with this class: .Mobile-bar-branding-logo something like this: .Header-branding-logo, .Mobile-bar-branding-logo { -webkit-filter: invert(100%); filter: invert(100%); filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } Make sure to keep the page targeting that you've already worked out. Hope this helps! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
Emma456 Posted September 14, 2022 Author Share Posted September 14, 2022 28 minutes ago, Ziggy said: You're targeting the desktop logo, but you also need to target the mobile logo with this class: .Mobile-bar-branding-logo something like this: .Header-branding-logo, .Mobile-bar-branding-logo { -webkit-filter: invert(100%); filter: invert(100%); filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } Make sure to keep the page targeting that you've already worked out. Hope this helps! Thanks so much! That ended up changing it on every page, do you know how I just change it on the homepage, but keep the other pages black? Thanks! Link to comment
Ziggy Posted September 14, 2022 Share Posted September 14, 2022 1 hour ago, Emma456 said: Thanks so much! That ended up changing it on every page, do you know how I just change it on the homepage, but keep the other pages black? Thanks! Yes, you need to target your homepage either by adding the collection ID in CSS or in the page header injection, but I think you need this in your Custom CSS: #collection-5f1049435db09b32638d151e { .Header-branding-logo, .Mobile-bar-branding-logo { -webkit-filter: invert(100%); filter: invert(100%); filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } } Please upvote if this has helped you, cheers! Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? 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