Jump to content

Changing font in product page

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

13 hours ago, primeglobalfitness said:

Hi, i would much appreciate it if anyone told me how to change the font of the 'product title' 'add to cart' 'select flavour' 'quantity' in my product page!

Link is here

https://www.primefitnessglobal.com/protein/p/optimum-nutrition-gold-standard-whey-protein

Thank you in advance.

I thought we have done on the following post:

Is there something else you need help?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
1 hour ago, primeglobalfitness said:

It only changed it on mobile not desktop, i want to change it on desktop as well. Also how to change the product title size as well, thank you.

Try the following code to work around on desktop display (just remove the media query

/*Desktop product page*/
/*Add to card style on mobile*/
.sqs-add-to-cart-button-inner {
  font-family: arial; /*font name*/
  font-size: 20px; /*size of text*/
}

/*Title of variant*/
.variant-option-title {
  font-family: arial;
  font-size: 20px;
}

/*Quantity label*/
.quantity-label {
  font-family: arial;
  font-size: 20px;
}

/*style for flavour dropdown*/
.product-details .variant-select-wrapper:before {
  font-family: arial;
  font-size: 20px;
}
.variant-select-wrapper[data-text="Select Flavour"] {
  display: flex;
  justify-content:center;
  align-items: center;
}

.product-details .variant-select-wrapper:after {
  height: 0.5rem;
  width: 0.5rem;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 12/13/2022 at 10:47 PM, primeglobalfitness said:

Thank you so much! How would i then change the box around the 'select flavour' 'select amount' size, and the product name eg 'ABE Pre-Workout'. 

Thank you in advance!

link https://www.primefitnessglobal.com/preworkout/p/all-black-everything-abe-pre-workout-sb3xr-j6bnz-lsany-72t9x

Use this CSS

/* product name */
h1.ProductItem-details-title {
    font-size: 20px !important;
    font-family: 'nudista-web' !important;
}
/* variant dropdown */
.variant-option * {
    font-family: 'nudista-web' !important;
    font-size: 30px !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.