Shopify themes, liquid, logos, and UX
I don't want to change it, I want to find the code that sets it. I can't find it anywhere.
I believe it is this:
html { box-sizing: border-box; font-size: calc(var(--font-body-scale)* 62.5%); height: 100%; }
Thanks
Solved! Go to the solution
This is an accepted solution.
This is under the config/settings_data.json file in the code editor. Heading scale should be on line 14 and body scale should be on line 16.
Hope this helps!
This is an accepted solution.
This is under the config/settings_data.json file in the code editor. Heading scale should be on line 14 and body scale should be on line 16.
Hope this helps!
Thanks, so if I leave it at 100% then my base font size converts to 10px? Is that true?
I guess what I really want to know is 100% of what? As 100% is a relative size and not an absolute size like a pixel value.
O' it is set as 10 that way it is easier to calculate rem or em units. Duh... Ok all good. 😀
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025