fontsizes on mobiles
-
Hi,
I’m trying to get inside fluid font-sizes but don’t understand the logic behind in TT3…
As far as I understand right now Text in general and most of the blocks are allready fluid with a rule and CCS with the factor 0.75. On the other site there is the option for clamp, where in theory you can define Min & Max in the theme.json for predefined font-sizes.
When I look to the frontend right now, h1 and h2 are realized with clamp, what makes sense, because they are the biggest headers. h3-h6 dont work with clamp. So far so good.
What i don’t understand: where Min & Max are defined for h1 and h2? If I look to the theme.json, only the predefined fontsizes (small, medium…) are defindes for clamp, but h1 and h2 are not defined with this predefined sizes.
If you go to the global styles typografie-settings for headings and change h1 and h2 to a predefind size, it’s not working with clamp any longer. For the other headings it’s the other way round. As standard they are defined with predefined sizes, and if you change them to an individual sitze it’s suddenly working with clamp?
I would like to understand that, but most important: can I change the Min & Max for h1 and h2, if yes, where?
Best regards
Chris
- The topic ‘fontsizes on mobiles’ is closed to new replies.