Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #1038645

    Hi
    Yes, you can use Media query to apply the different style on the text.
    Can u share the URL of the page here so that i can give you an example code?

    Regards

    PawerDesign Friend
    #1038753

    Hi Pankaj

    Thanks for helping 🙂

    my url is : http://www.hockeycamp.me

    Best Regards

    PawWest

    Pankaj Sharma Moderator
    #1038761

    Hi
    Add below code in custom.css file

    
    @media(max-width:468px) {
    .home.view-article h2 {font-size:10px;}}

    You are using h2 in article editor, with above code the text size is 10px in mobile.
    Do the same for P tag and other heading tags.

    Regards

    PawerDesign Friend
    #1038799

    Thank You 🙂

    if i understand it correct.. On media ( platforms ) with a max width of 468px the H2 is then 10px, is that correct ?

    Best Regards

    PawWest

    PawerDesign Friend
    #1039012

    Hi Pankaj

    Thanks for the tip 🙂

    Best Regards

    PawWest

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

This topic contains 5 replies, has 2 voices, and was last updated by  PawerDesign 7 years, 5 months ago.

The topic ‘Font size on smaller ( Mobile ) platform’ is closed to new replies.