Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1256347
    mathijs84
    Participant
    .home .x-recent-posts > a {
        height: 207px;
        overflow: hidden;
    }

    This gives problem on mobile because we then need more room to make the text visibile!

    #1256377
    Jade
    Moderator

    Hi there,

    Please update the code to:

    
    @media (max-width: 767px) {
        .home .x-recent-posts > a {
            height: 207px;
            overflow: hidden;
        }
    }

    Hope this helps.

    #1256477
    mathijs84
    Participant

    Hi,
    NOw the code doesnt seem to work anymore!

    #1256612
    Jade
    Moderator

    Hi there,

    Please update the code to:

    .home .x-recent-posts > a {
        height: 207px;
        overflow: hidden;
    }
    
    @media (max-width: 767px) {
        .home .x-recent-posts > a {
            overflow: visible;
        }
    }

    Hope this helps.

    #1266998
    mathijs84
    Participant

    Updated, but if you check on mobile is still doesnt look good

    See attached screenshot.

    Maybe we can limit the amount of words on mobile?

    #1267091
    Joao
    Moderator

    Hi There,

    I have tested your blog on my Android Firefox and it is loading fine,

    What device and browser you are using while experiencing the issue?

    Thanks

    Joao

    #1291967
    mathijs84
    Participant

    On my iphone, you can see the text is not really nicely broken off..

    See attached file

    #1292318
    Lely
    Moderator

    Hi There,

    Please update the code to this:

    .home .x-recent-posts > a {
        height: 207px;
        overflow: hidden;
    }
    
    @media (max-width: 767px) {
        .home .x-recent-posts > a {
            overflow: visible;
            height: initial !important;
        }
    }

    On mobile or smaller screens, the container width becomes smaller thus needs more height to accommodate the text height. Above CSS reset the default height that is set on large screen size.

    Hope this helps.

    #1312432
    mathijs84
    Participant

    PERFECT!!!

    #1312437
    Christopher
    Moderator

    Glad we could help you with this.

  • <script> jQuery(function($){ $("#no-reply-1240581 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>