Rounded corners in Mailchimp templates - CSS or image-based

28,237

Solution 1

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.

Solution 2

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;
Share:
28,237
Sikander
Author by

Sikander

computer science student

Updated on July 15, 2022

Comments

  • Sikander
    Sikander almost 2 years

    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..

  • Sikander
    Sikander about 11 years
    so what about those browsers /clients that dont support css based corners
  • Brett DeWoody
    Brett DeWoody about 11 years
    Browsers/clients that don't support CSS-based rounded corners will see square corners. It's a trade-off for sure, each method has it's pros/cons. If it's possible to look at your lists' user agents that might help make the decision. If your list contains a high percentage of clients that support CSS-based rounded corners than CSS-based rounded corners it is.