-
AuthorPosts
-
December 5, 2022 at 8:43 am #1375080
Dear support team
On the tablet landscape format, I don’t get the desired result in the view, even though I’ve made the mobile optimization settings: https://my-visionguide.de/home/
For mobile optimization, I have already entered the following settings for the tablet landscape format in the grid row: https://my-visionguide.de/support/tablet-quer-11.png
I also specified in the grid line settings that the switching width should be 989px: see screenshot: https://my-visionguide.de/support/tablet-quer-111.pngNevertheless, 2 columns still appear on the tablet landscape format and the padding is not executed correctly either: see screenshot: https://my-visionguide.de/support/tablet-quer-1.jpeg
What can I do to make it work in tablet landscape mode too?Best regards Diana
December 8, 2022 at 2:12 pm #1375528Hey Diana,
Thank you for your patience and for the screenshots, so I see that you have set the grid cells to be full width up to 989px, and I find that this is working correctly. Do you want this to work for larger screens? For example, the iPad pro has a landscape width of 1366px so do you want the cells to be full width up to there?
I believe that the confusion about the padding is that the padding screenshot you showed is for up to 989px
but the screenshot of the grid element showing the cells side-by-side is for 990px
so to change this padding you need to change the desktop padding:
We could help with some css to change the break point to landscape width 1366px if you wish, or if you are using a different iPad, some of their landscape widths are 1024px
Try this link on your iPad to see what width your screen is screen resolution, you may need to reload the screen when you check portrait vs landscape.Best regards,
MikeDecember 10, 2022 at 10:07 am #1375747Hi Mike,
Thank you for your detailed description with the pictures.
Yes, I use an i-pad with a resolution of 810 x 1080 px as a tablet.
Now I tried, as stated, to reduce the padding values in the “Desktop padding” setting, but unfortunately the result was that it worked on the i-pad, but also on my desktop PC then these settings were applied and the layout appeared as follows: https://my-visionguide.de/support/desktop-pc.png
So I removed this setting again and I now have the correct view on the desktop PC again: https://my-visionguide.de/home/#neustart-berufNow I think the easiest thing will be to set the toggle point for the tablet higher, instead of 989 as the maximum width, a higher value, so that it also works on the i-pad. What value do you recommend me here? And could you give me a CSS script that causes all grid rows on this page to have their switching point higher so that the cells are displayed one below the other?
Thank you very much for your work!
Best regards, DianaDecember 10, 2022 at 8:23 pm #1375782Hi,
Thanks for the feedback, please try this css for a max-width of 1080px and landscape:@media only screen and (max-width: 1080px) and (orientation: landscape) { .responsive #top #wrap_all .flex_cell.av-5hi5me6-b34177ccafb611f881e8135e1bc9f448 { padding: 0 50px 50px 50px !important; } }
After applying the css, please clear your browser cache and check.
Please see the screenshot in the Private Content area of the expected resultsBest regards,
MikeDecember 11, 2022 at 7:24 am #1375821Hi Mike,
first of all thank you for your help.
I pasted the suggested script in the CSS. Unfortunately, the view on the tablet is unchanged (I deleted the cache and tested it in 2 browsers): https://my-visionguide.de/support/tablet_20221211.jpeg
(It already looks very good in your preview image)Do you have any idea what it could be or how to change the script?
Since the “wrong” display of the grid row on the tablet landscape format occurs several more times on the HOME page, it would also be great if there were a script that would also correct the other cell.
Here is the second case: https://my-visionguide.de/home/#arbeitsweise It looks like this on the tablet: https://my-visionguide.de/support/tablet2_20221211.jpegBest regards Diana
December 11, 2022 at 3:02 pm #1375831Hi,
Thanks for the feedback, on your homepage I found 3 grid row sections that match this layout so I added the custom class custom-tablet-padding to the cell with text in each of these and then I changed the css to this:@media only screen and (max-width: 1085px) and (orientation: landscape) { .responsive #top #wrap_all #main .av-layout-grid-container .flex_cell.custom-tablet-padding { padding: 0 50px 50px 50px !important; } }
and this seems to be working for all three, please clear your browser cache and check.
Please note that testing with iPads & iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
Also note that your Kontakt has extra padding on the inner column, so if you want it to look like the other two sections please remove this extra padding.
Now you should be able to add the custom class custom-tablet-padding to grid row cells that are similar on other pages for the same effect.Best regards,
MikeDecember 12, 2022 at 5:49 am #1375907Hi Mike,
Thank you very much! This now works wonderfully on the I-pad!
Thank you for your great support!
Best regards DianaDecember 12, 2022 at 1:41 pm #1375940Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Mobile Optimization Grid Row Tablet Landscape’ is closed to new replies.