-
AuthorPosts
-
January 12, 2020 at 7:50 pm #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
January 13, 2020 at 6:07 am #1172650Hi Thomas,
Do you want it only to affect a single page? multiple pages? or all pages?
Best regards,
NikkoJanuary 13, 2020 at 3:25 pm #1172819Hi Nikko,
It should be all pages please.
Best
ThomasJanuary 14, 2020 at 5:26 pm #1173466Hi 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,
NikkoJanuary 16, 2020 at 1:16 pm #1174924Hej 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.
January 17, 2020 at 9:48 am #1175287Hi 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,
NikkoJanuary 17, 2020 at 11:09 am #1175305Hi Nikko,
That worked just perfectly. Thanks for the help. Have a good weekend.
Best
Thomas -
AuthorPosts
- The topic ‘iPhone/Mobile view on iPad in portrait view’ is closed to new replies.