Email template padding issue

LCSKMiller
Contributor

We are looking to remove the padding around the outside of an email template so images will be flush against the outside of the email.

 

Can this be done by editing a Drag and Drop template instead of using an HTML & HUBL email template? We are also looking to do this on a template by template basis instead of on the account as a whole. It is currently set up as a responsive Drag and Drop.

 

 ExampleExample

6 Replies 6
LCSKMiller
Contributor

We're using the new design manager if it helps.

Thomas_DCA
Participant | Gold Partner

Yes, we would like this too. It would be especially helpful for custom coded modules.

0 Upvotes
tarat
Member

Did you get this resolved? I'm having this issue also. 

0 Upvotes
LCSKMiller
Contributor

I ended up designing via HTML to make the padding work correctly. The only drag-and-drop option I could find was a global setting and would have changed every email.

0 Upvotes
tarat
Member

Do you mind sharing the html code you used? 

0 Upvotes
LCSKMiller
Contributor

Hey Tarat, 

 

What you can do is build your email with the WYSIWYG editor under Design Manager first, then select Actions > Clone to HTML. 

 

You're then going to want to look for this line:

 

#contentTableOuter {
border-collapse: separate !important;
background-color: #ffffff;
padding: 30px;
}

 

Yours might look slightly different but the name should be the same. Delete the padding here and it will clear it out for you.

 

You can test via Preview > Live Preview with Display Options to make sure you've removed the correct line.

0 Upvotes