CMS Development

LCSKMiller
Contributeur

Email template padding issue

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 Réponses
tarat
Membre

Email template padding issue

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

0 Votes
LCSKMiller
Contributeur

Email template padding issue

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 Votes
tarat
Membre

Email template padding issue

Do you mind sharing the html code you used? 

0 Votes
LCSKMiller
Contributeur

Email template padding issue

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 Votes
Thomas_DCA
Participant | Partenaire solutions Diamond
Participant | Partenaire solutions Diamond

Email template padding issue

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

0 Votes
LCSKMiller
Contributeur

Email template padding issue

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