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.

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

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.