Hoping someone can help me change the font size of the text on my product pages. I know how to change the scale but do not want to increase size over the entire website. Would really appreciate someones assistance in increasing the font size of the content tabs on the product pages as seen in the image.
I also need to fix the content headings - when I increased the text scale the content tab heading on the product page mobile view now show the words cut off. Is there a way to correct this or do I need to reduce font scale for this to be displayed correctly?
You can increase the font size only on product pages using a page-specific CSS selector, so it doesn’t affect the rest of your site.
Add this to your base.css or theme.css file:
/* Increase font size for product page text only */
.template-product .product__info {
font-size: 1.1rem; /* Adjust as needed */
line-height: 1.6;
}
/* Adjust tab headings */
.template-product .product__accordion .accordion__title {
font-size: 1.15rem;
white-space: normal; /* prevents text cutoff on mobile */
}
Why this works:
.template-product makes sure the rule applies only to product pages.
white-space: normal; fixes the issue of tab titles cutting off in mobile view.
If your theme uses different selectors (like .product-info-wrapper or .tab-heading), you can right-click → Inspect Element → and replace them with the correct ones.
You can check out our Shopify Partner profile — we’ve built and shared several free Shopify app solutions to help store owners. Feel free to explore our profile and see how our apps can make your Shopify experience better!