Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #230345

    Is there a way to decrease the font size of certain text when the site goes responsive on a mobile device? I would like to be able to make some of my desktop headings quite a bit larger but they get cut off when viewed on a phone since the font size remains the same. How can I specify what the font size will be when viewed on a mobile device?

    #230457

    Hi D5WDesignGroup!

    Which headings are you trying to change? You can use Media Queries to target a certain screen size.

    @media only screen and (max-width: 767px) {
     h2 {
     font-size: 12px;
    }
    }

    Regards,
    Ismael

    #233447

    Thanks, works perfect!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How can I reduce font size on mobile device.’ is closed to new replies.