-
AuthorPosts
-
August 5, 2021 at 7:55 pm #1314711
Please look at https://www.lovefactorinventory.com/jvp-coaches-webinar/ The picture of two women with sign up form beneath it looks fine on my iMac 27in screen and my 13in Laptop. The image does not adjust for ipad or smaller and it covers text on right side.
What is the css code I need to get control of this element.
Thanks for the help
RonAugust 7, 2021 at 12:39 pm #1315020Hi Ron,
I’m not sure which behaviour you are looking for, do you want the columns to break to 100% at an earlier point maybe?
Best regards,
RikardAugust 7, 2021 at 1:54 pm #1315033HI Rikard,
Here is a drobox link: https://www.dropbox.com/sh/5j2aojg1g8sfiv5/AADIzTFE6KHrR9V1y0DnupPqa?dl=0There are two images. One is from my iMac and the other from my iPad. You can see one has the image and text in columns that do not overlap and the other (iPad), the image overlaps on the text (LFI Professional…..).
Does this help clarify what I am asking?
Thanks,
RonAugust 7, 2021 at 4:12 pm #1315039Hi Rikard,
I just doubled checked and my iPhone looks fine. The only device I see with an issue is the iPad. I am not sure how to choose the breakpoint for this device. Any suggestions?
Thanks,
RonAugust 8, 2021 at 9:38 pm #1315157Hi,
Thank you for your patience and the screenshots, I don’t have an iPad but I was able to reproduce it with my Chrome dev tools for the screen widths 1024px ▸ 1440px
at this size the heading text in the first column is over flowing the form, I recommend increasing the max-width of the container to allow the column a little more space.
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: 767px) and (max-width: 1440px) { .responsive #top.page-id-14210 #main > #av_section_2 > .container { max-width: 95%; padding: 0; } }
This seems to help a lot, another adjustment you could make is to reduce the heading font size a little:
@media only screen and (min-width: 767px) and (max-width: 1440px) { #top.page-id-14210 #wrap_all .av-inherit-size .av-special-heading-tag { font-size: 0.8em; } }
After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 8, 2021 at 9:57 pm #1315159Hi Mike,
The CSS code was just what I needed. It looks good now on the iPad as well. Thanks so much for getting back to me.
Your help is most appreciated.
RonAugust 8, 2021 at 11:15 pm #1315173Hi,
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 ‘Layout Element not adjusting to smaller screens’ is closed to new replies.