Jump to content

I want to use an alternate logo on all event pages—but not on the main Events page, which is titled "Upcoming."

Recommended Posts

Site URL: https://tortoise-lychee-x6zw.squarespace.com/

I want to use an alternate logo on all event pages—but not on the main Events page, which is titled "Upcoming."

 

I have the following code, but I don't know how to exclude the main Events page.

.collection-type-events-stacked .header-title-logo img {content: url("https://images.squarespace-cdn.com/content/v1/625f628e6c37d43557e411d2/e9b7b9a7-d599-48e1-903c-78de96fc680c/horizontal+lay+color+monochrome+squarespace.png?format=1000w");
}

Edited by cos-soprano
new image url
Link to comment
  • cos-soprano changed the title to I want to use an alternate logo on all event pages—but not on the main Events page, which is titled "Upcoming."
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

18 hours ago, cos-soprano said:

Use this code

body.collection-type-events-stacked.view-item .header-title-logo img {content: url("https://images.squarespace-cdn.com/content/v1/625f628e6c37d43557e411d2/e9b7b9a7-d599-48e1-903c-78de96fc680c/horizontal+lay+color+monochrome+squarespace.png?format=1000w");
}

Explain

  • .view-item = individual pages
  • .view-list = main page
  • if you doesn't use both, it will apply individual + main pages

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.