Jump to content

How do I invert the logo color for individual event pages?

Recommended Posts

  • Replies 2
  • Views 255
  • Created
  • Last Reply
Posted
On 8/6/2021 at 11:10 PM, mhs said:

Site URL: https://www.northshore.studio/events/building-a-product-culture-mindtheproduct

I've figured out how to invert the logo colour for individual blog posts, but can't find a way to invert the logo colour for individual event pages. Squarespace doesn't give me an option under advanced settings to add custom code for event posts, just for the whole event section. Is there another way to fix that?

1656128514_Screenshot2021-08-06at17_06_28.png.a7772e17fb1303f139c4a44ac8887d69.png

2010605408_Screenshot2021-08-06at17_06_52.png.69e42950d367c0559b38afbd93b78a5f.png

Thank you!

 

 

Hi, Add this to Events Page Header

<style>
  body.view-item .header-title-logo img {
    filter: invert(1);
    -webkit-filter: invert(1);
}
</style>

Explain:

  • .header-title-logo img is logo class name
  • body.view-item is individual events class name
  • body.view-list is event list page class name

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!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.