This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Changing Font Size With CSS

6 years ago · Last reply by Andrew Misplon 6 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 6 years, 6 months ago

    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.

Have a different question or issue?

Start New Thread