Jump to content

Logo Color Change

Go to solution Solved by tuanphan,

Recommended Posts

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

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

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.

WEBSITEINSTAGRAM

 

Link to comment
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
  • Solution
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>

image.thumb.png.effb8a7b49f9de32adb1232faf36fc68.png

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
  • 3 weeks later...
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
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
  • 3 months later...

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.

Screenshot 2023-12-20 at 11.24.13 (3).png

 

Porfolio Subpage 

Screenshot 2023-12-20 at 11.17.26 (3).png

Edited by NitramHolz
Link to comment
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.

Screenshot 2023-12-20 at 11.24.13 (3).png

 

Porfolio Subpage 

Screenshot 2023-12-20 at 11.17.26 (3).png

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

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.