Fix Split GIF Background Issue in Mobile View

sangsangmiller
New Member
9 0 0

D7834C78-C6AE-4737-8A47-C1B7DC550DB6.jpeg

In the mobile view, the inserted GIF is not properly fixed and splits in the middle when scrolling down.

Reply 1 (1)

sangsangmiller
New Member
9 0 0

This is the code I'm using, please help me fix it?

 

<style>
body{
background-image:url(https://cdn.shopify.com/s/files/1/0709/2686/0322/files/ezgif.com-rotate.gif?v=1707952664)!important;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed!important;


}

.gradient {
background: transparent;
}
</style>
<style>

body {
background-size: cover!important;
}
</style>