Change font size on mobile

Home Forums All Other Themes Change font size on mobile

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #126226
    emilia.lahti
    Participant
    • Topics: 4
    • Replies: 14
    • Total: 18
    Member since: July 18, 2018

    Hi,

    I would like to change the font size on mobile from 15px to 16px. On desktop the font pixel size is OK. How could I amend the font size only on mobile? Is it also possible to increase the size of the margins around the text on mobile?

    Here is the link to my website: https://www.valkonverstas.fi/

    Thanks!

    #126263
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23490
    • Total: 23490
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Theme Options >> Basic Settings >> Custom CSS Box:

    Add this code there:

    @media screen and (max-width:479px) {
    body { font-size:16px; line-height:24px;}
    .container { padding:0 30px;}
    }

    Regards,
    Chris

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