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. 😀
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025