How do I use a custom stylesheet with my email design?

How do I use a custom stylesheet with my email design?

Using External Stylesheets for Mobile Email Design

For designers comfortable working with CSS, Delivra offers the ability to upload and apply external stylesheets to control the mobile styling of emails. This gives you full flexibility over responsive design, allowing you to define global styles that apply across your template or campaign.

What Are External Stylesheets?

External stylesheets are .css files you can upload to your Delivra account and attach to an email template or campaign. They provide a method for defining mobile-specific styles outside the inline or embedded CSS typically used in email design. This feature is intended for users with CSS expertise who prefer to hand-code their mobile email responsiveness.

How to Upload a Stylesheet

  1. Navigate to Assets in your Delivra account.

  2. In the left-hand menu, click Stylesheet.

  3. Click the Upload Stylesheet button.

  4. Click Browse to select and upload a .css file from your computer.

Applying a Stylesheet to a Template

  1. Go to Assets.

  2. Hover over the template name and click Edit.

  3. Select the Style tab in the editor.

  4. Scroll to the Stylesheet section.

  5. Select your uploaded stylesheet from the left pane.

  6. Use the arrow to move it to the right (applied).

  7. Click Save to apply the changes.

Applying a Stylesheet to a Campaign

  1. Go to Campaigns.

  2. Hover over your campaign name and click Edit.

  3. Navigate to the Design step.

  4. Click the Style tab.

  5. Scroll to the Stylesheet section.

  6. Select your uploaded stylesheet from the left.

  7. Use the arrow to move it to the right (applied).

  8. Click Save to finalize.

Notes and Best Practices

  • External stylesheets only apply to mobile email rendering.

  • We recommend thorough testing before using a custom stylesheet in a live campaign.

  • Delivra offers a built-in Email Rendering tool in both editors for testing your designs across different mobile devices. If you'd like to learn more, reach out to your Client Success Manager.

For additional support or questions, contact our team anytime at support@delivra.com.

    • Related Articles

    • Creating email templates

      Email templates are design layouts that you customize and save for reuse. The purpose of email templates is to save you time in the campaign building process because you begin with a design that has many of your common elements pre-built. Our ...
    • How do I use an image from Unsplash in my email design?

      Using the Unsplash Image Library in Your Email Design Looking to add high-quality, professional images to your emails without leaving Delivra? Our direct integration with Unsplash makes it easy to access millions of free, high-resolution stock photos ...
    • Email designer 101

      Delivra offers a modernized email editor that frees you from fussing with email design and makes it ultra-easy to personalize messages for maximum engagement. General Layout On the left of your page you will find layout elements that can be added ...
    • How do I use Content Locks in my email templates?

      The Content Lock feature in the email editor allows site administrators to lock sections of email templates or campaign design so that account administrators cannot edit it. This feature benefits multi-member teams or franchise teams keep important ...
    • Do I have the capability of using responsive design?

      Responsive Design in Delivra's Drag-and-Drop Email Editor Creating responsive email campaigns doesn’t have to be complicated. Delivra’s drag-and-drop editor is built to make beautiful, mobile-friendly designs the default—no coding required. Built-In ...