Wonder if anyone can help. On my bosses website, I had a scrolling image of a collection of books (she's an author) at the bottom of the homepage. It's worked fine for the last 3 years. I have gone to replace the image with updated books (made on photoshop, as followed on the tutorial shown below) and now the image isn't appearing in the correct section at all. Nothing. The YouTube video I was following is posted below. My code is:
.slider {
width: 100%;
overflow: hidden;
}
.slider .slider-image {
background-image: url(https://static1.squarespace.com/static/63566299d6f0d711d59f53c7/t/6357a2a7d351b544eda38096/1666687668598/slider.png);
width: auto;
height 300px;
background-size: 2950px 250px;
animation: slide 60s linear infinite;
}
@keyframes slide {
from {background-position-x: 0px; }
to { background-position-x: -2950px; }
}
Can anyone see why It's all of a sudden not even showing my image of all the books. (Also linked below for you to see) I have tried altering all the different pixel amounts, still nothing. Image doesn't even show up.
Website is: www.joyellisbooks.com
Thanks to whoever takes their time out to reply to this.
Is there an easier way now to maybe do this instead? Made the website back in 2021.