NO BUG: Clamp function on font sizes broken with 1.7.1

Chrome browser
MacBook Pro

I have a clamp function for body text set in Theme Styles which was working fine with 1.7 version.
clamp(1.9rem, 1.8445rem + 0.296vw, 2.2rem
So font size range is 19px → 22px yet actual size showing is 35px on desktop - much larger.
Seems clamp is not working…

1 Like

Update - NOT A BUG - it was another plugin UserWP that caused issue.
(Not yet worked out how it is breaking it).

Hi Keith,
Without being able to inspect the styles, it’s impossible to tell what the problem is.

Best regards,
timmse

Hi

I couldn’t see anything wrong using inspect as the html was set as expected to 62.5% - which I use, so I know 1rem is equivalent to 10px.

As the largest size shown was 35px yet the clamp max was 2.2rem Therefore ’somehow’ this is being st back so that the default of 16px must be getting used by the plugin As then 2.2 rem == 35px (with bas of 16px)

So I am just not bothering with that plugin! :slight_smile: