Home>Support>Changing Font Size With CSS

Changing Font Size With CSS

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More