Font Size

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.css file targeting accordion headers
  • Another recommended using the Custom CSS section in Theme settings with a broader .pf-c selector

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).

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Thanks for the info, try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!