Our website uses cookies. our cookies do not store personally identifiable information about you, they just remember you should you return and allow us to see which pages were of interest to you during your visit. If you wish to restrict or block cookies set by our website, or indeed any other website, you can do this via your browser settings. However please be aware that some functionality can be lost when restricting cookies on some sites.
So, you’ve designed a nice flowing email with full-width images that blend perfectly into background coloured text boxes. You’re now building it in MailChimp when you realise… oh, how do I remove the border from ‘boxed text’ containers? Frustratingly there currently is no option to turn off the padding. However, when we recently hit this problem, one of our awesome Dev guys accepted the challenge and found a solution.
Step 1
Start by styling a ‘boxed text’ container exactly how you’d like it.
Step 2
Preview the email, right click and select ‘Inspect Element’.
Step 3
Click on the boxed text container which will reveal the HTML code.
Woah there... code?!
Need some help with your Mailchimp email marketing? Get in touch we'll be happy to help
Step 4
Scroll up to find the start of the tag, right click and select ‘Edit as HTML’
Step 5
Select all and copy.
Step 6
Go back to the MailChimp template editor. Drag and drop a ‘Code’ block under your boxed text.
Step 7
Remove the placeholder HTML code and paste in your copied code.
Step 8
Now here is where we remove the padding. Find where it says padding-top: 9px;padding-left: 18px;padding-bottom: 9px;padding-right: 18px; and delete it.
Step 9
The padding has gone! *Hands up in celebration*
Step 10
Remove the original boxed text and finally preview and test.