[Resolved] How to create different font size for desktop, tablet and mobile

Home Forums Support [Resolved] How to create different font size for desktop, tablet and mobile

Home Forums Support How to create different font size for desktop, tablet and mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #594989
    Robin

    Under Customise > Typography > Body, when I change the font size it stays the same for desktop, tablet and mobile view.

    How do I have one size for desktop, and another for mobile/tablet?

    Thanks in advance…

    #595000
    David
    Staff
    Customer Support

    Hi Robin you will need a little CSS and to use the responsive breakpoints listed here:

    https://docs.generatepress.com/article/responsive-display/

    e.g For mobile font size:

    @media (max-width: 768px) {
        body {
            font-size: 16px;
        }
    }
    #595008
    Robin

    Awesome David – Many thanks for your help. Ticket can now be closed.

    #595014
    David
    Staff
    Customer Support

    You’re welcome Robin glad to be of help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.