kevinsaunders Posted July 31, 2023 Share Posted July 31, 2023 Hi there, Hoping to get some help here - the logo that we'd like to use for our header nav has white text with a transparent background (ideal for a image background in the hero). The issue is that on subpages with a white background, the logo isn't readable. Can we show a different logo in the header nav on specific pages within the website? Thanks, Kevin Link to comment
CassAggett Posted August 1, 2023 Share Posted August 1, 2023 Hi Kevin, yep you can do this. Check out this great article for instructions: https://schwartz-edmisten.com/blog/alternate-logo-with-transparent-header-in-squarespace-71 tuanphan 1 If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM Link to comment
tuanphan Posted August 3, 2023 Share Posted August 3, 2023 If you share your site url, we can help easier 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
kevinsaunders Posted August 3, 2023 Author Share Posted August 3, 2023 https://aqua-turbot-b9hj.squarespace.com/config/pages/website-tools/custom-css Yeah I'm struggling a little bit to get this figured out. Appreciate the help @tuanphan Link to comment
tuanphan Posted August 6, 2023 Share Posted August 6, 2023 On 8/4/2023 at 3:10 AM, kevinsaunders said: https://aqua-turbot-b9hj.squarespace.com/config/pages/website-tools/custom-css Yeah I'm struggling a little bit to get this figured out. Appreciate the help @tuanphan Your site is private. Can you setup an access password? 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
kevinsaunders Posted August 7, 2023 Author Share Posted August 7, 2023 Ok - done @tuanphan password is Squarespace Link to comment
Solution tuanphan Posted August 8, 2023 Solution Share Posted August 8, 2023 21 hours ago, kevinsaunders said: Ok - done @tuanphan password is Squarespace You can add this code to Page Settings > Advanced > Code Injection (page where you have problem) If you use Personal/Basic Plan, let me know which pages do you have problem, we can give another code <style> header#header img { filter: invert(1); -webkit-filter: invert(1); } </style> 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
kevinsaunders Posted August 25, 2023 Author Share Posted August 25, 2023 Hi @tuanphan we're running into a similar issue on a different website. Could you help with making the logo visible on these news / blog post pages specifically? https://www.redwingshoeco.com/blog-entries/summer-2023-internship-launch-announcement Link to comment
tuanphan Posted August 27, 2023 Share Posted August 27, 2023 On 8/25/2023 at 10:28 PM, kevinsaunders said: Hi @tuanphan we're running into a similar issue on a different website. Could you help with making the logo visible on these news / blog post pages specifically? https://www.redwingshoeco.com/blog-entries/summer-2023-internship-launch-announcement If you want to apply to all blog posts (detail post), use this to Custom CSS body[class*="type-blog"].view-item .Header-branding-logo { filter: invert(1); -webkit-filter: invert(1); } 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
kevinsaunders Posted August 28, 2023 Author Share Posted August 28, 2023 Hi @tuanphan where do I add this Custom CSS? I tried adding it as a page header code injection on Blog Entries but that didn't resolve the issue Link to comment
tuanphan Posted August 30, 2023 Share Posted August 30, 2023 On 8/28/2023 at 8:09 PM, kevinsaunders said: Hi @tuanphan where do I add this Custom CSS? I tried adding it as a page header code injection on Blog Entries but that didn't resolve the issue Add it to Website > Website Tools > Custom CSS If you want to add to Code Injection, you need to use this code <style> body[class*="type-blog"].view-item .Header-branding-logo { filter: invert(1); -webkit-filter: invert(1); } </style> 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
kevinsaunders Posted August 30, 2023 Author Share Posted August 30, 2023 Awesome - this worked. Thank you @tuanphan tuanphan 1 Link to comment
NitramHolz Posted December 20, 2023 Share Posted December 20, 2023 (edited) Hello there, by any chance there is a similar solution but for the following, I have created a Home page based on a Portfolio page where there is a slideshow full bleed, There it makes sense to have the logo in White, but the subpages have a white background, therefore a black logo is necessary there. I have injected the code above, but it not only affects the Main portfolio page but also the subpages. Anyway to go around this? @tuanphan Appreciate the help! Home with a portfolio page + full bleed slideshow: https://www.studiohelenaholz.com/home-3 Logo in black disappears. Porfolio Subpage Edited December 20, 2023 by NitramHolz Link to comment
tuanphan Posted December 22, 2023 Share Posted December 22, 2023 On 12/20/2023 at 9:25 PM, NitramHolz said: Hello there, by any chance there is a similar solution but for the following, I have created a Home page based on a Portfolio page where there is a slideshow full bleed, There it makes sense to have the logo in White, but the subpages have a white background, therefore a black logo is necessary there. I have injected the code above, but it not only affects the Main portfolio page but also the subpages. Anyway to go around this? @tuanphan Appreciate the help! Home with a portfolio page + full bleed slideshow: https://www.studiohelenaholz.com/home-3 Logo in black disappears. Porfolio Subpage You used this code? <style> header#header img { filter: invert(1); -webkit-filter: invert(1); } </style> if you want it affect sub pages only, use this new code <style> body.view-item header#header img { filter: invert(1); -webkit-filter: invert(1); } </style> If affect list page, use this <style> body.view-list header#header img { filter: invert(1); -webkit-filter: invert(1); } </style> 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