How can I enlarge the font size of specific text?

Hello,

I need help with increasing the font size of the highlighted text (“Quantity”; “1”; “Meals per week”; “7 meals”)

Here is the link to my product page https://wowberrybites.myshopify.com/products/10?variant=41706772070549

Thank you so much for your help!

@winnado11

Follow these steps:

From your Shopify admin, go to Online store> theme

on the top right corner you’ll see “action” drop down > click on “Edit code”

find theme.css or scss (use the search field on the top left side to find it)

now copy and paste the following code

.quantity-input__element,
.product-form__select-label
{font-size: 27px! important;}

*change the font size “27” according to your preference

Did it solve your issue?

  • If yes, Like & Mark As Solution to help the community

  • If not, let me know. also share a screenshot of the code that you added.

1 Like

@Touhiid Thanks for the code. I followed your instruction, but only the “1” and “Meals per week” were changed, but not the “Quantity” and “7 meals” text. What code I should use to change the font size of “Quantity” and “7 meals”?

Thanks for your time and help

1 Like

@winnado11 I thought you wanted to change only these two.

however, replace the code with following one:

.quantity-input__element,
.product-form__select-label,
.form__input–select,
.form__select-label
{font-size: 27px! important;}

Did it solve your issue?

  • If yes, Like & Mark As Solution to help the community

  • If not, let me know. also share a screenshot of the code that you added.

1 Like

@Touhiid thanks so much. It works now.

1 Like