Jump to content

Change custom css font for images titles

Recommended Posts

On 2/4/2022 at 9:50 AM, ScandiWater said:

I would like to change the font of my images titles but cannot figure out the correct line of code

The font of the list item titles is set using the following selectors and is calculated based on viewport width:

.user-items-list-item-container.user-items-list-simple[data-title-font-unit="rem"] .list-item-content__title

You haven't told us how you want to change the font but this should get you started.

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
On 2/7/2022 at 4:29 PM, ScandiWater said:

Hi,

Thank you.

I would like to change the font to a custom font: Barlow-Regular

Add to Design > Custom CSS

h2.list-item-content__title {
    font-family: Barlow-Regular !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.