Jump to content

Make Logo Color adaptive to the site style

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Views 392
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

To change logo color to white on One Page, you can follow this.

#1. Use below tool to find Page ID.

In my example, I will check Homepage, and ID will be:  #collection-66b0d585c394d0032052e93e

image.png.7fd40effee0470129a09fda886b1807f.png

#2. Next, use this code to Website Tools > Custom CSS

#collection-66b0d585c394d0032052e93e header#header img {
    filter: brightness(0) invert(1);
}

#3. Result

image.thumb.png.a637bda4a61a8380e5b0221223c090d0.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
On 8/20/2024 at 8:58 PM, NELU said:

Great, Thank you for your help!! Is there also a way to make the Logo a specific different color? Like a piece of code where i could just insert the hex color code

Code can change logo to black or white color only, with different color, you need to design new image and use this new code

#collection-66b0d585c394d0032052e93e header#header img {
    content: url(https://cdn.pixabay.com/photo/2023/09/04/17/48/flamingos-8233303_1280.jpg);
}

replace Pixabay with new image url

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.