Change font size on mobile

Home Forums All Other Themes Change font size on mobile

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #126226
    emilia.lahtiemilia.lahti
    Participant
    • Topics: 6
    • Replies: 19
    • Total: 25
    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
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31022
    • Total: 31022
    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.