Site logo

Archived topic

Mobile font size

5 replies · Started by JOAQUIM GALANTE on January 17, 2021

Viewing posts 1–6 of 6

How can I increase the font size on the mobile while maintaining the font size on the PC?

Hi there,

What font size are you referring to?

The body/paragraph font size?

All fonts sizes (titles, body news, etc), because when i increase the font one mobile it increase in pc view too. I want it indepenent and i want to know how i do it.

Hi there,

you can set the mobile font size for the body with this CSS:

@media(max-width: 768px) {
    body {
        font-size: 18px;
    }
}

In the Customizer > Typography > Headings settings you have a separate Mobile option for each of the H1-H5 font sizes, simply click the mobile icon beside the field.

Done, thanks a lot.

You're welcome

This archived topic is closed to new replies.