test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • modalia Friend
    #206722

    Hello. How can I reduce the size of title (H1) in the mobile version?

    I want to shrink the title in the mobile version to 18 px. How I can do? Could I use media queries?

    modalia.es

    Thank you very much!!

    Javi

    Saguaros Moderator
    #572311

    Hi Javi,

    Yes, you can use media queries to add css for specific screen resolution.

    In this case, you can go to file: root/templates/ja_magz (your default template)/css/custom.css (create this file if it doesn’t exist)

    and add this css rule:

    @media (max-width: 320px) {
    .article-header h1{
    font-size: 14px; <<< change to your desired value here;
    }
    }

    Saguaros Moderator
    #737348

    Hi Javi,

    Yes, you can use media queries to add css for specific screen resolution.

    In this case, you can go to file: root/templates/ja_magz (your default template)/css/custom.css (create this file if it doesn’t exist)

    and add this css rule:

    @media (max-width: 320px) {
    .article-header h1{
    font-size: 14px; <<< change to your desired value here;
    }
    }

    modalia Friend
    #572535

    Hi, it works!!

    Thank you very much

    Javi

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 9 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum