How to change the font size for the product description - Dawn

Topic summary

Goal: increase the product description font size in the Shopify Dawn theme. Initial attempt adding .product__description { font-size: 18px !important; } to base.css did not take effect.

Key steps and suggestions:

  • Share store URL (provided: https://gallery0206.com/) to inspect.
  • Use a broader selector to catch nested elements: .product__description * { font-size: 18px !important; } in base.css.
  • Add custom CSS at the bottom of theme.liquid (the main layout file) above the tag to ensure overrides load last; this can help when base.css changes aren’t applied due to specificity or load order.
  • Apply separate CSS targeting the homepage section if the issue appears only there (e.g., featured product/sections on the home page may need their own selectors). One responder referenced a homepage-specific fix and shared screenshots of the expected result.

Notes: base.css is the theme stylesheet; theme.liquid is the layout where global custom CSS can be injected. Images were used to demonstrate the result.

Status: a responder observed the font size appears fixed; final confirmation from the requester is not recorded, so resolution is likely but unconfirmed.

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

Hi all,

Do you have any idea how to change the font size of the product description, tried to add the below code to the

base.css but the description font size didn’t change at all.

.product__description {

font-size: 18px !important;

}

thanks,

Jac

Hey @JacJacC

Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

Hi @JacJacC ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


I see your store looks very nice, warm, and elegant, but in my opinion, you should consider adding a heading banner + CTA button on your main banner. it will help the customer easily purchase the product bestseller and increase traffic product page

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

1 Like

https://gallery0206.com/

Hi @Moeed here the link, thx

Hi @PageFly-Oliver I added the code to the base.css, however, I didn’t change the font of the product description, it still looks very small on the home page

@JacJacC Please follow below steps to update the font size for the description. Let me know whether it is helpful for you.

  1. From admin go to “Online stores” → “Themes”.
  2. Click action button from the current theme and select “Edit code”.
  3. Search for “base.css” file and paste the below code at the bottom of the file.
.product__description * { 
    font-size: 18px !important;
}

Result will be like,

Please provide your support by click “Like” and “Accepted” if our solution works for you. Thanks for your support.

1 Like

on the home page, you can try


Hey @JacJacC

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above tag.

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

you mean at the home page CSS? @PageFly-Oliver

thanks, but in the homepage, the description still showing very small font, any idea?

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


1 Like

@JacJacC I think you have fixed it now. Please let me know if you still need any help.

1 Like