Add a background image to newsletter dawn theme

Hi, how can I background image to newsletter dawn theme?

Thanks for your help

1 Like

@urbantis
use this code and Add your Images.
like this you can use.

background-image: url('img_girl.jpg');

use the id or class to add into your newsletter background image.

Thank you.

@urbantis ,

Share your store URL.

1 Like

https://lashes-and-accesories.myshopify.com/

pass ohfleu

1 Like

thank you, but it does not work, it just ads to the borders and I still see the white background of the section

1 Like

@urbantis

.newsletter__wrapper.color-background-image.gradient.content-container.isolate.section-template--15942398640382__16511372724de01edd-padding {
    background-image: url(https://cdn.shopify.com/s/files/1/0613/6499/4302/files/Copy_of_3_Webiste_Banners_3.png?v=1651134449&width=1780) !important;
}

Add this code in the bottom of newsletter-section.css.
Thank you.

1 Like

Thanks, how can I add it also to the featured collection background? can you help?

@urbantis ,

.color-background-1.gradient {
    background: url('https://cdn.shopify.com/s/files/1/0613/6499/4302/files/Copy_of_3_Webiste_Banners_3.png?v=1651134449&width=1780');
}

You can change the image.

Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid