Shopify themes, liquid, logos, and UX
Hi All
I've got a bit of an issue. I can't seem to work out how to remove the photo in the middle of the slideshow. Each slide has the same photo which is the site background image.
Any clues / ideas on how to remove it I would be grateful for.
I have added how I have each photo configured in the slideshow.
Solved! Go to the solution
This is an accepted solution.
Hey @Careys,
I see you added this code in the base.css file
.gradient {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(https://cdn.shopify.com/s/files/1/0847/1445/5351/files/IMG_1817.jpg?v=1701642808) !important;
background-color: transparent !important;
background-position: center !important;
background-color: #000000 !important;
background-size: contain !important;
background-repeat: no-repeat !important;
}
You should change the selector from .gradient to .gradient:not(.slideshow__text)
Final code should look like,
Note: Everything within the curly braces {} are the same
.gradient:not(.slideshow__text) {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(https://cdn.shopify.com/s/files/1/0847/1445/5351/files/IMG_1817.jpg?v=1701642808) !important;
background-color: transparent !important;
background-position: center !important;
background-color: #000000 !important;
background-size: contain !important;
background-repeat: no-repeat !important;
}
Hey @Careys,
Can I have the link to your store?
Hi
The store isn't live at the moment as it is still in development as we are working through text and images etc with the client.
Hey @Careys
You can share the preview link.
@ThePrimeWeb - Have you had any luck viewing the website via the Preview link? If not, please let me know how to contact you directly and I'll send additional details.
Hey @Careys,
Sorry flooded notifications. The store is password protected. Could you share the password or just disable it until I check the issue?
This is an accepted solution.
Hey @Careys,
I see you added this code in the base.css file
.gradient {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(https://cdn.shopify.com/s/files/1/0847/1445/5351/files/IMG_1817.jpg?v=1701642808) !important;
background-color: transparent !important;
background-position: center !important;
background-color: #000000 !important;
background-size: contain !important;
background-repeat: no-repeat !important;
}
You should change the selector from .gradient to .gradient:not(.slideshow__text)
Final code should look like,
Note: Everything within the curly braces {} are the same
.gradient:not(.slideshow__text) {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(https://cdn.shopify.com/s/files/1/0847/1445/5351/files/IMG_1817.jpg?v=1701642808) !important;
background-color: transparent !important;
background-position: center !important;
background-color: #000000 !important;
background-size: contain !important;
background-repeat: no-repeat !important;
}
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024