How can I change my newsletter background to an image?

Hey i want to change the background of my newsletter to an image, how can i do it?

Hello @musadecor

Could you please share your store url ( with pass if your store password is enabled ) then I can see and suggest something for you?

Best regards,
GemPages Support Team

Hi @musadecor ,

Please follow the steps below:

  • Step 1: Upload background at Settings > Files.

  • Step 2: Go to Actions > Edit code > sections > newsletter.liquid file and add code here:

Code:

.section-{{ section.id }}-padding {
    background-image: url("link file");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

Hope it helps!

https://musadecor.shop/

hey! it worked thanks alot, but the every image that i put seems to be expanded

This was the picture i used

Hi @musadecor ,

Please change code here:

Code:

background-size: contain;
1 Like

The newsletter section should be highlighted. it’s most important for collecting newsletter emails. We can use the newsletter emails sync list for marketing purposes with MailChimp email marketing. Thanks for sharing this solution