Hi,
I’ve added an image banner halfway down my homepage with the ‘Fixed Background Position’ image behaviour applied to it.
The issue I’m facing occurs when scrolling down to this section, the image within the banner glitches out and then covers the entire page, blocking other parts of the website.
The issue only seems to happen on certain devices (older ipads are what I’ve tested) but seems to work as intended on others.
I’ve added two screenshots below, one of how it is meant to look and one with the glitch.
If anyone would be able to assist me in fixing this, it would be a great deal of help.
Website Link: www.solaque.co.uk
Thanks,
Aaron
Hi @Aaron-Mihell
I believe this glitch is due to the parallax effect that you have on that section. The IOS wasn’t friendly with Parallax. Unfortunately, your way around this is to disable the parallax effect to older IOS devices. Please try the following
- From the Admin page, go to Online Store > Themes
- Select the theme you want to edit, click the three dots to edit code
- Under the Asset folder, open the base.css
- Then place the code below at the very bottom of the file and SAVE
@media only screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 1) {
#Banner-template--23721731359051__image_banner_t9Ygk .animate--fixed>img:not(.zoom):not(.deferred-media__poster-button),
#Banner-template--23721731359051__image_banner_t9Ygk .animate--fixed>svg:not(.zoom):not(.deferred-media__poster-button){
position: relative;
object-fit: cover;
height: 100%;
}
}
Hi @Made4uo-Ribe ,
Thank you for this. I just tested it and it works perfectly.
Thanks,
Aaron