New Landing How can we help? Cardinal How to change the text size (h2, h3) at Mobile device dimension – Responsive

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Cardinal
  • #170256
    hotspring
    Member
    Post count: 85

    Is there a way to assign different font-size based on the dimension size (Desktop and Mobile)?

    Currently when I see the site on my iPhone, the fonts stay at the same size, therefore they look too big and busy on my iPhone.

    Thanks,

    #170333
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use the code like this:-

    @media only screen and (max-width: 767px) {
    h2{font-size:40px !important;}
    h3{font-size:36px !important;}
    }

    Thanks
    Mohammad

    #170620
    hotspring
    Member
    Post count: 85

    Thanks.

    #170709
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I am glad that your issue resolved.
    Thanks
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register