Hi can anyone help? Looking to have a background image in the newsletter section.
Thanks!
Hi can anyone help? Looking to have a background image in the newsletter section.
Thanks!
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
.index-section--newsletter-background {
background-color: var(--color-bg-alt);
background-image: url('https://cdn.shopify.com/s/files/1/0596/8543/7610/files/vintage-car-speedometer_1728x.jpg?v=1633332690');
background-position: center center;
background-size: cover;
}
Thanks!
Thanks it worked! but how can I change the picture?
background-image: url('add your image url');
thanks!
.index-sectionânewsletter-background {
background-color: var(âcolor-bg-alt);
background-image: url(https://unsplash.com/photos/_GH9LwhlSO4);
background-position: center center;
background-size: cover;
Did I do it correctly? cause it doesnât work.
Try this code
.index-section--newsletter-background {
background-color: var(--color-bg-alt);
background-image: url('https://images.unsplash.com/photo-1545486332-9e0999c535b2?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=387&q=80');
background-position: center center;
background-size: cover;
}
.index-sectionânewsletter-background {
background-color: var(âcolor-bg-alt);
background-image: url(âhttps://unsplash.com/photos/_GH9LwhlSO4
https://unsplash.com/photos/_GH9LwhlSO4/download?force=true&w=640â);
background-position: center center;
background-size: cover;
Do you mean like this?
Thank you very much!!!