Change font size for quantity (cantidad) title

Topic summary

Goal: Increase the font size of the “Quantity” (cantidad) label above the quantity input on a product page in the Dawn 15 theme.

Key guidance:

  • Add custom CSS via Online Store > Themes > Edit code, then open Assets > base.css (or theme.css/custom.css) and paste a rule at the bottom.
  • Option A (more specific): target the quantity label within a specific product section ID.
    CSS: #Quantity-Form-template–16994491039898__main label.quantity__label.form__label { font-size: 20px !important; }
  • Option B (more general): apply to all quantity labels sitewide.
    CSS: label.quantity__label.form__label { font-size: 20px !important; }

Notes:

  • The !important flag ensures the new size overrides theme defaults.
  • Use the specific selector if you only want to affect one section/product; use the general selector to change all quantity labels.
  • Theme context: Shopify Dawn 15.
  • Screenshots/code images were shared, but the CSS snippets above are the core solution.

Status: No confirmation from the original poster; solutions provided, resolution not explicitly marked.

Summarized with AI on December 25. AI used: gpt-5.

I’ve managed to change the size for the variants titles. Now i want to do the same for the quantity’s title right above the box.

misteri.ca using Dawn 15.

Hi @MiguelMaya ,

You can follow these steps to change the font size for the quantity label text

  1. Open Online Store > Theme > Edit Code

  2. Find and open the base.css (or theme.css, custom.css) file

  3. Paste the code snippet below at the bottom of the file and hit save

#Quantity-Form-template--16994491039898__main label.quantity__label.form__label {
  /* You can change this value to fit your preference */
  font-size: 20px !important;
}

Hope this helps you solve the issue.

Please don’t forget to Like and Mark it as an Accepted Solution if you find this helpful. Thank you!

1 Like

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > base.css and paste this at the bottom of the file:
label.quantity__label.form__label {
font-size: 20px!important;
}

1 Like