Jump to content

How to customise the Variant and Quantity drop down fields on a Product Page.

Recommended Posts

Site URL: https://shop.alexandraadoncello.com/shop/p/ilciolo

I'm trying to make the font size of 'Quantity' the same as the Variant options (Size, Frame, Border). 
I've already used the code below to customise the variant fields, I would like to match the font size of quantity and it's number to the variant options, which is 14px.

/* Variant */
.variant-select-wrapper {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.variant-select-wrapper option {
    font-size: 30px;
}
div.variant-option * {
    font-size: 14px;
}
/* Quantity */
.product-quantity-input input {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
      font-size: 14px;
}
 

 

Screen Shot 2022-03-12 at 3.17.47 pm.png

Link to comment
9 hours ago, lexcello said:

Site URL: https://shop.alexandraadoncello.com/shop/p/ilciolo

I'm trying to make the font size of 'Quantity' the same as the Variant options (Size, Frame, Border). 
I've already used the code below to customise the variant fields, I would like to match the font size of quantity and it's number to the variant options, which is 14px.

/* Variant */
.variant-select-wrapper {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.variant-select-wrapper option {
    font-size: 30px;
}
div.variant-option * {
    font-size: 14px;
}
/* Quantity */
.product-quantity-input input {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
      font-size: 14px;
}
 

 

Screen Shot 2022-03-12 at 3.17.47 pm.png

Hi, add this code to custom css and let me know what you think 🙂

.ProductItem-details .quantity-label {
  font-size: 14px;
}

.ProductItem .ProductItem-details .product-quantity-input input {
  font-size: 14px;
}

 

Edited by Jia

Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified.

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.