Home › Forums › WoodMart support forum › Wrong Background Image Size and Browser Behavior
Wrong Background Image Size and Browser Behavior
- This topic has 6 replies, 3 voices, and was last updated 4 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
March 30, 2020 at 4:20 am #183213
onggowijayaParticipantThere is a difference in the background in desktop browsers and in the Safari for iPadOS. The desktop browser shows the correct size for the background images (attachment 1), and the iPadOS landscape mode shows very large background images (attachment 2). Please advise on how to make the site display the right background size for iPadOS. Also, the site stutters when using Safari for macOS but not Chrome or Firefox (attachment 3).
Attachments:
You must be logged in to view attached files.March 30, 2020 at 4:21 am #183216
onggowijayaParticipantPlease disregard attachment 3 because I cannot upload a video of it.
March 30, 2020 at 1:04 pm #183358
Elise NoromitMemberHello,
Here is the screen how it looks on iPadOS https://prnt.sc/rpgef4 this is the real device, no emulator, as you can see it looks correctly.
Please check this https://woodmart.xtemos.com/layout-parallax/?opt=layout_parallax on your device, does it work well?
Best Regards
March 30, 2020 at 3:03 pm #183400
onggowijayaParticipantThe screenshot I sent you was from a real device as well — iPad Pro 11″. This is another screenshot (attachment 1), and as you can tell, the background image is very large (attachment 2).
Also, Safari for macOS is stuttering when scrolling the sample website above.
Attachments:
You must be logged in to view attached files.March 31, 2020 at 9:24 am #183536
Bogdan DonovanKeymasterHi,
By default background parallax effect is created with
background-attachment: fixed
CSS parameter. We have investigated that issue and found that the Safari browser has issues with supportingbackground-attachment: fixed;
(https://forums.developer.apple.com/thread/99883). Unfortunately, that can’t be fixed via WordPress theme and we didn’t have a quick solution for this.As a solution you can add the following code snippet to the Custom CSS area in Theme Settings to disable background parallax in Safari browsers:
.browser-Safari .woodmart-parallax { background-position: center !important; background-attachment: scroll !important; }
Best Regards
March 31, 2020 at 10:14 am #183548
onggowijayaParticipantThank you for the workaround. Please let me know when there is a permanent solution to this. The parallax feature is what I am after to begin with.
March 31, 2020 at 11:38 am #183569
Elise NoromitMemberHello,
We will let you know if it appears. If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register