Jump to content

Changed font for product price using custom css, but when selecting product option, font reverts

Go to solution Solved by paul2009,

Recommended Posts

I added the following css to make the prices on my product pages in my desired font (BN Tillsdale).

.sqs-money-native {
    font-family: 'BNTillsdale';
}

However I noticed when I select a production option from a drop down menu, the price reverts back to the original font. Example URL: https://www.minerbook.co/shop/p/build-your-own-writing-journal-large If you select a "cover style" the price will revert.

Is there a way to fix this so the price uses the BN Tillsdale font regardless of the option chosen?

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Use the following:

 
.collection-type-products .ProductItem-details .product-price {
  font-family: "BNTillsdale";
}

 

  If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.