Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1027195
Font size on mobile devices
Closed

Comments

  •  2
    langpj started the conversation

    Hi,

    Can I control the size that fonts appear on mobile devices? On the single page at the Related URL I have given, when the page appears on a mobile phone, the H2 header font at the top of the page appears smaller than the body font.

    Can I specify what size the font should appear on mobiles?


    Thanks.

  •  7,120
    Oliver replied

    HI!

    You can control your headings for responsive with next css:

    @media (max-width: 1000px) {
    h1, .title-h1 {
        line-height: 30px !important;
        font-size: 30px !important;
    }
    h2, .title-h2 {
        line-height: 30px !important;
        font-size: 30px !important;
    }
    }
    @media (max-width: 768px) {
    h1, .title-h1 {
        line-height: 30px !important;
        font-size: 30px !important;
    }
    h2, .title-h2 {
        line-height: 30px !important;
        font-size: 30px !important;
    }
    }
    @media (max-width: 500px) {
    h1, .title-h1 {
        line-height: 30px !important;
        font-size: 30px !important;
    }
    h2, .title-h2 {
        line-height: 30px !important;
        font-size: 30px !important;
    }
    }
    

     

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver