Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
I’m trying to change the font size of a “Heading” widget using the “css styles” and “mobile css styles” sections. Using code like the following doesn’t seem to work:
h1 { font-size: 15px; }
My goal is to have the font size change when viewing the page on a mobile device.
Hi Matthew
Thanks for reaching out.
It isn’t possible to insert rules into the CSS Styles field, only declarations. Please, see my guide here.
If you’re using the SiteOrigin Headline widget you can scroll down to the bottom of the widget settings and enable the FitText option.