How to add a background color to an HTML email element?

Hello everyone,

I am currently trying to add a background colour to an html element of an email. I am new to this and is anyone able to help please. Thanking you in advance

ou can add inline CSS styling to the HTML element you want to modify.

Here’s an example of how to add a background color to a table element in a Shopify order confirmation email:

  1. Open your Shopify store’s admin panel and navigate to the “Settings” menu.
  2. Click on “Notifications” and then click on the “Order confirmation” email template to edit it.
  3. In the email editor, find the table element you want to modify and add the “style” attribute with the background color CSS property. For example:
    Your content goes here.
  4. Save your changes and test your email to see the updated background color.
1 Like

thank you, for some reason when I first tried it didn’t work. Thank you !

Is there a way to add HTML to Email marketing templates?