Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rounded corners in Mailchimp templates - CSS or image-based

I am creating an email template for Mailchimp. I have downloaded a template and am now placing my content per the requirements (I know about using Mailchimp template language). My problem is that I have to use rounded corners and am using image-based rounded corners.

When I edit the tables in the Mailchimp visual editor the image-based rounded corners become broken and no longer work.

Should I use CSS, or image-based, rounded corners? Any suggestions please.

*EDIT : Always use images This is what i got as best solution..

like image 997
Sikander Avatar asked Mar 02 '13 13:03

Sikander


2 Answers

Mailchimp uses CSS-based rounded corners in their Email Blueprint templates. Here's a chart from CampaignMonitor showing some of the email clients border-radius (and the -moz and -webkit prefixes) will/won't work in.

The CSS-based rounded corners won't work in every email client, but will fail gracefully in clients that don't support the border-radius property. Image-based rounded corners will not display when a reader doesn't have images enabled, and as you've experienced, maintaining the image-based rounded corners in the MailChimp visual editor can be tough depending on how your template is setup.

My suggestion would be for CSS-based rounded corners, using the prefixes to cover the widest range of email clients:

border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
like image 145
Brett DeWoody Avatar answered Oct 09 '22 03:10

Brett DeWoody


Use images, they are 100% supported. Example here of how to do it correctly.

You'll need to upload the corner images to be hosted either by Mailchimp or your own URL. If they are, Mailchimp may be reformatting your code. Not sure if it is a wysiwyg as I'm not a Mailchimp user, but you can always edit the output code to put the image URL's back if that is the case.

like image 24
John Avatar answered Oct 09 '22 01:10

John