Skip to main content

Text to small in brizy cloud on mobile device

Comments

1 comment

  • KC George

    Hello Matien,

    You've applied the following CSS code to the second block with the text content. Even though you set the mobile paragraph text size to 22 pixels in Brizy, the following CSS code overrides the text size to 18 pixels.

    /* ==========================================
       OERfestival - Mobiele leesbaarheid
       ========================================== */

    @media only screen and (max-width: 768px) {

        body{
            font-size:18px;
            line-height:1.7;
        }

        p,
        li,
        span{
            font-size:18px !important;
            line-height:1.7 !important;
        }

        h1{
            font-size:2.3rem !important;
            line-height:1.15;
        }

        h2{
            font-size:2rem !important;
            line-height:1.2;
        }

        h3{
            font-size:1.6rem !important;
            line-height:1.3;
        }

        .brz-text{
            font-size:18px !important;
            line-height:1.7 !important;
        }

        .brz-rich-text{
            font-size:18px !important;
            line-height:1.7 !important;
        }

        .brz-container{
            padding-left:20px !important;
            padding-right:20px !important;
        }

    }

     

    As a result, font size set in the editor for mobile devices will not reflect on the frontend. Have you tried removing the above code to check if the font size would display as per the size you set in the editor?

    0

Please sign in to leave a comment.