Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I am trying to create a fixed background image at the top of my webpage that spans across three sections: the header, image banner, and image with text. I want this image to remain in a fixed position as I scroll, with elements gliding over it without resetting in each section.
I've noted the dimensions of each section:
How can I achieve this, while still setting unique backgrounds for my other sections, like the featured collection, footer, and announcement bar?
Website: https://theweekenders.ca/?_ab=0&_fd=0&_sc=1
.gradient {
background: var(--gradient-background);
background-image: url(https://cdn.shopify.com/s/files/1/0615/8116/4622/files/Background_Image.png?v=1730820255) !important;
background-color: transparent !important;
background-position: top left !important;
background-size: cover !important;
}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025