Tagged: background Images, color sections, full width, Images, Scrolling, white space
-
AuthorPosts
-
April 10, 2020 at 5:21 am #1202559
On my homepage, I’m using color sections with background images. I recently noticed that the background images look good on desktop and mobile versions, but don’t appear correctly on iPad and looks blurry/pixelated and not appealing. I have screenshots to show the difference between the versions.
My website developer has done some researching, made several adjustments to the settings, and done multiple tests to find the solution but hasn’t found the correct settings. We updated the theme and cleared the cache but are not seeing it look correct on iPad.
Can you direct us on how to setup the color sections with backgrounds so they appear consistent and attractive on all devices? Perhaps some additional CSS for iPad/tablet size screens? We don’t want the images to repeat.
I’ve included screenshots below showing four background sections on the homepage that are not appearing correctly on iPad, and then the same four sections on desktop version, with crisp / correct background images.
I appreciate your help. Please CC my web designer on your reply, if possible – CC: A (Email address hidden if logged out) .
Thanks!
April 14, 2020 at 8:13 am #1203471Hey Lucia,
I’m very sorry for the late reply. Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (min-width: 768px) and (max-width: 1024px) { .avia-full-stretch { background-size: contain !important; } }
Best regards,
RikardApril 17, 2020 at 4:45 am #1204594Hi, thanks for that code. I tested it and it’s not showing correctly on the iPad. Most of the background image is not showing vertically and there is a lot of white space below where there should be full background image.
Here are screenshots showing how it looks on iPad:
First section – https://prnt.sc/s0wok4
Second section – https://prnt.sc/s0wow9
Third section – https://prnt.sc/s0wp8c
Fifth/last section – https://prnt.sc/s0wpr8For referene –
First section desktop (correct): https://prnt.sc/rwhvt7
Second section desktop (correct): http://prnt.sc/rwhvxz
Third section desktop (correct): http://prnt.sc/rwhw2y
Fifth/last section desktop (correct): https://prnt.sc/rwhw86I appreciate your help. Please CC my web designer on your reply – CC: A (Email address hidden if logged out) . Thanks!
May 2, 2020 at 1:56 pm #1209090Hi,
Sorry for the late reply, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:@media only screen and (max-width: 1030px) { #top.home .av-parallax { background-size: cover !important; } }
After applying the css, Please clear your browser cache and check.
If you want to use different background images for mobile you can clone the section and make it visible only for mobile and then change the background image. Then ensure the original section is not visible on mobile.Best regards,
MikeMay 4, 2020 at 6:40 am #1209423Thanks, I’ll try the new CSS code. I appreciate your help.
May 4, 2020 at 12:28 pm #1209504May 20, 2020 at 10:24 pm #1214814This reply has been marked as private.May 20, 2020 at 10:26 pm #1214816This reply has been marked as private.May 23, 2020 at 6:10 pm #1215545Hi,
Sorry for the late reply, I have asked for someone with an iPad on the team to assist with this, thank you for your patience.Best regards,
MikeMay 24, 2020 at 11:22 am #1215691Hey,
I updated the code to following one
@media only screen and (max-width: 1030px) { .avia-safari .avia-bg-style-fixed { background-size: cover !important; background-attachment: scroll !important; } }
Could you please clear browser cache on your ipad and check once again?
Best regards,
YigitMay 26, 2020 at 12:52 am #1216326Hi,
I just tried that and the images are the same on the homepage – blurry and oversized. Everywhere else is fine.Have we tried using different images just to see if these got affected by something? My website developer will update the theme today to see if that helps.
Aloha,
LuciaMay 26, 2020 at 1:09 am #1216328This reply has been marked as private.May 28, 2020 at 7:46 am #1217259This reply has been marked as private.June 1, 2020 at 11:48 am #1218409Hi,
Have you tried uploading larger images? Current size of the images is around 1500x1000px and uploading a version that is twice that size should cover up retina displays nicely. The screen resolution of the latest iPad device is 2048×2732 pixels.
Best regards,
IsmaelAugust 11, 2020 at 1:41 am #1236548This reply has been marked as private.August 13, 2020 at 3:27 am #1237209Hi,
Thank you for the update.
Looks like the parallax container is not resizing correctly on landscape mode. To adjust the style of the parallax container, add this code in the Quick CSS field or the style.css file.
@media only screen and (max-width: 1366px) { .av-parallax { background-size: cover !important; background-attachment: scroll !important; height: 100% !important; } }
Please don’t forget to toggle the Performance > File Compression settings after adding the code.
Best regards,
IsmaelSeptember 4, 2020 at 11:50 pm #1243468This reply has been marked as private.September 8, 2020 at 2:06 pm #1244301Hi,
Sorry for the delay. The css code above will only work if parallax is enabled, but looks like that the parallax effect for the color sections have been disabled.
To make it work for non-parallax background, we disabled the Performance > File Compression settings temporarily and adjusted the code in the Quick CSS field.
@media only screen and (max-width: 1366px) { .avia-bg-style-fixed, .av-parallax { background-size: cover !important; background-attachment: scroll !important; height: 100% !important; } }
Please make sure to remove the browser cache prior to checking the page again on iPad.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.