Jump to content

How can I change the title font used on individual event

Go to solution Solved by tuanphan,

Recommended Posts

I am hoping to edit the title portion of a specific event collection. I say specific because I don't want to make the change to all event pages - only the events for 2024. This site is updated yearly and I don't want universal code that affects the look of the prior year events. 

My goal is to have the titles of all 2024 events set in the font Fraunces. Any guidance would be much appreciated.

 
image.thumb.png.8edaedc86827d8006137a662a31f1719.png

Link to comment

@tuanphan

Thanks. That works perfectly on that page.

Is there a way to make it apply globally to all the events that are in that list (but not from other event lists) or do I need to use code to target the specific body item for each event that is created?

I can see where you got the item number so I can do them one at a time if necessary. If go that route, I am not sure how to adjust the code to add multiple item numbers. So for example. I grabbed this item # from a different event but the only way I could find to make it work was to use the entire snippet you wrote for each item. 

#item-65ce2a50949d651a24bf1482

Here is the link associated with that other event in case that helps

https://www.publicphilosophyweek.org/2024-event-working/putting-pain-in-its-place-lessons-from-a-stoic-r3def-76p3h-2tnx2-asach

 

Thanks so much for your help

Edited by michael.dabbs
Link to comment
20 hours ago, sjh_sos said:

I used these instructions for...the individual event page but when I view the list of events the font is still not what I am looking for. The font I am hoping to get is Raleway. 

To modify the font on the Event List page, you can use this:

.eventlist-column-info .eventlist-title, .eventitem .eventlist-title {
  font-family: 'Raleway';
  font-style: normal;
}

The 'font-style: normal' is only required if you want to remove the italic style that is currently set.

Did this help? Please give feedback by clicking an icon below  ⬇️ 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 2 weeks later...
On 2/23/2024 at 4:45 AM, michael.dabbs said:

@tuanphan

Thanks. That works perfectly on that page.

Is there a way to make it apply globally to all the events that are in that list (but not from other event lists) or do I need to use code to target the specific body item for each event that is created?

I can see where you got the item number so I can do them one at a time if necessary. If go that route, I am not sure how to adjust the code to add multiple item numbers. So for example. I grabbed this item # from a different event but the only way I could find to make it work was to use the entire snippet you wrote for each item. 

#item-65ce2a50949d651a24bf1482

Here is the link associated with that other event in case that helps

https://www.publicphilosophyweek.org/2024-event-working/putting-pain-in-its-place-lessons-from-a-stoic-r3def-76p3h-2tnx2-asach

 

Thanks so much for your help

If you use a Business Plan/higher, add this code to 2024 Event Working Page Header Code Injection

<style>
  h1.eventitem-title {
    font-family: 'Fraunces' !important;
}
</style>

If you use Personal Plan, use this code to Website > Website Tools > Custom CSS

body.collection-65ce23ee6964f56596229096 h1.eventitem-title {
    font-family: 'Fraunces' !important;
}

 

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.