How do I change the font size of the product description for my default product details section? The bullet points are the correct font size, but the headers are very small.
Topic summary
A Shopify store owner needs help increasing the font size of product description headers on their default product detail page. The bullet points display at the correct size, but the headers appear too small.
Initial Solutions Provided:
- Two community members offered CSS code solutions targeting different selectors
- One suggested adding code to
theme.scss.cssfile targeting accordion headers - Another recommended using the Custom CSS section in Theme settings with a broader
.pf-cselector
Clarification:
The store owner clarified that the problematic page uses Shopify’s default product details section, not PageFly (which they use for other product pages without issues). They provided a specific example URL and screenshot showing the small header text.
Status: The discussion remains open - the original poster has not confirmed whether either solution worked for their specific default product page template. The initial solutions may have targeted the wrong page type (PageFly-built pages rather than default Shopify sections).
Hi @jake1212
PLease, share your store URL. Thanks!
Thanks for the info, try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.__pf.__pf_dtYdct1c .pf-52_ [data-pf-type="Accordion.Header"] {
font-size: 22px !important;
}
-
And Save.
-
Result:
-
Note: You have theme.scss.css paste on this file.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @jake1212 ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.pf-c * {
font-size: 20px !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
The product page you used as an example, I used Pagefly for. I have no trouble changing the font on that one. I’m talking about this product page that uses the default product details section. https://tieboss.com/collections/all-products/products/tie-boss-hunters-special
The product page you used as an example, I used Pagefly for. I have no trouble changing the font on that one. I’m talking about this product page that uses the default product details section. https://tieboss.com/collections/all-products/products/tie-boss-hunters-special


