-
AuthorPosts
-
September 28, 2020 at 4:25 pm #1249074
Hi,
i have a big problem now with websites i made when i look at them on a smaller I Pad or laptop.
I often use two columns and put text in one and a photo in the other column beside the first one. But when the screen is smaller the text gets longer and longer goes all the way down over the page and the pictures become totally small and there are big spaces in between. I never really noticed that so much but there must be a way to get that proportinal so that the hight of the photo has the same height of the text, just how it looks on the desktop version.
What can I do?Would be very thankful for help! :)
Many regards rixi
October 1, 2020 at 5:52 am #1249800Hey rixi,
I couldn’t see anything like that on the page you linked to, could you post a screenshot of the problem on your end please? Also please let us know which screen size that is happening on and in which browser.
Best regards,
RikardOctober 2, 2020 at 10:11 am #1250000Hi Rikard,
its on safari by IPAD Air third generation.Many greetings
rixiOctober 12, 2020 at 2:00 am #1252132Hi,
Sorry for the very late reply and thanks for the link to your page. So for tablet we can remove the page padding and the margin & padding for the image to make it as large as possible, but the element is a 1/2 column.
For the icon box text, one way to to increase the width is to hide the icon for tablet which removes the indent making the text wider, but I don’t know if the icon is important for you to show on tablet. Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (min-width: 768px) and (max-width: 1024px) { #top.page-id-4188 #av_section_2 > div.container { padding: 0 !important; } #top.page-id-4188 #av_section_2 > div.container > div > div > div > div > article > div.iconbox_icon.heading-color { display: none !important; } #top.page-id-4188 #av_section_2 > div.container > div > div > div > div { margin-left: 0 !important; width: 49% !important; } }
After applying the css, please clear your browser cache and check. Please see the link in the Private Content area for the expected results. From the screenshot you should see that there is not enough room for the image to be the same size as the icon box text.
Please note this css will only work for your test page.
Another option is to change the element layout for tablets by adding a new section that works for your thoughts on tablet and then hide / show the elements based on screen size. Let us know if this is something you would like to try.Best regards,
MikeOctober 12, 2020 at 9:39 am #1252212Hello Mike,
thanks a lot. I will try that out!Many greetings
rixiOctober 12, 2020 at 12:14 pm #1252253 -
AuthorPosts
- You must be logged in to reply to this topic.