Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1172563

    Hi,
    How do I force the iPhone/Mobile view on an iPad in portrait view? I would like do display a single column view on iPad because that content I have does not look that good on iPad in portrait view.

    Kind regards Thomas

    #1172650

    Hi Thomas,

    Do you want it only to affect a single page? multiple pages? or all pages?

    Best regards,
    Nikko

    #1172819

    Hi Nikko,

    It should be all pages please.

    Best
    Thomas

    #1173466

    Hi Thomas,

    Can you try adding this CSS code in Quick CSS, located in Enfold > General Styling:

    @media only screen and (max-width:959px) {
        .responsive #top .flex_column_table_cell {
            display: block;
        }
    
        .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
            margin: 0;
            margin-bottom: 20px;
            width: 100%;
        }
    }

    Hope it helps.

    Best regards,
    Nikko

    #1174924

    Hej Nikko,

    thanks. But the code only worked on some of the elements on the frontpage. I would like the frontpage on iPad in portrait mode to look exactly like the view on an iPhone.

    #1175287

    Hi civilizedk,

    Can you try to use this CSS code instead:

    @media only screen and (max-width:959px) {
        .responsive #top .flex_column_table_cell {
            display: block;
        }
    
        .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
            margin: 0;
            margin-bottom: 20px;
            width: 100%;
        }
    
        .responsive .avia-testimonial-wrapper, .responsive .avia-testimonial-row, .responsive .avia-testimonial {
            display: block;
            width: 100%;
            float: none;
        }
    
        .responsive #top .avia-testimonial {
            border-bottom: 1px dashed #e1e1e1;
            border-right: none;
            padding: 20px 0;
        }
    
        .responsive #top .avia-testimonial-row:last-child .avia-testimonial:last-child {
            border: none;
        }
    
        .responsive #top .av-hide-on-mobile {
            display: none !important;
        }
    
        .responsive.av-no-preview #top #wrap_all .av-medium-hide {
            display: block !important;
        }
    }

    The layout should be the same but the width is different.

    Best regards,
    Nikko

    #1175305

    Hi Nikko,
    That worked just perfectly. Thanks for the help. Have a good weekend.
    Best
    Thomas

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘iPhone/Mobile view on iPad in portrait view’ is closed to new replies.