Message settings

Style your base component

Message settings appear on the right of the canvas. These are attributes you can set on your base component. You can open and close it by clicking the gear icon.

A screenshot of the right-hand side of the Parcel window when the visual editor is open. The gear icon in top right of the visual editor is selected. A list of attributes appears for message settings. width
Message settings to the right of the visual editor canvas.

If you're building an email from scratch in the visual editor, we add <x-base> behind-the-scenes as the outermost element in your email. You can edit the properties of this component through Message settings.

If you've made your own base component, you need to add componentType: 'root' to your component's <script> tag first:

export const config = { 
    label: "CIO Base" ,
    componentType: "root" 
  };

Then you'll be able to modify its properties from Message settings.

Backgrounds

You can set a background for your entire message through Message settings. You can set a solid color, gradient, or image. By default, the background is transparent. Consider the email clients your customers use, as some support images and gradients while others do not.

Solid color

To set a solid, background color:

  1. Click Message settings.
  2. Under Styles > Background, enter the hex value of the color and the opacity percentage or click the preview icon to choose a color and opacity.
    A screenshot of the Styles section of a properties menu. To the right of the field labeled Background, there's a box with a red hex value and 75% for opacity. The hex value preview is selected, so to the left of the properties menu is a pop-up where red is selected from a color wheel. There are two sliders underneath it - the top slider is on the color red. The bottom slider is at the 75 percent mark for opacity. width
    Set the background color of a component.
  3. Preview your changes in the visual editor and send a test to see how it renders in your email client.

To reset your background color, click the subtraction icon to the right of the field.

Image

To set an image as the background of your email:

  1. Click Message settings.
  2. Under Styles > Background, set a fallback color in case your customers' email clients do not support images.
  3. Click Add Gradient/Image.
  4. Click the new field then choose Image from the pop-up.
    A screenshot of the Styles section of a properties menu. To the right of the field labeled Background, there's a box labeled image. This box has been selected and shows to the left of the properties menu, a pop-up where the tab Image is selected at the top. Under the tab name is a field you can paste a link to an image file. Under that is a section titled Layout which has three properties you can set: size, position, and repeat.
    The pop-up where you add your image and set layout properties
  5. Paste the image URL if hosted outside Parcel or choose "Select Media" and browse for a file in your workspace. Keep in mind, when you officially send this email, you must host these images outside of Parcel.
  6. Modify the layout properties as you see fit. You can change the position, size and repeat of the background image.
  7. Preview your changes in the visual editor and send a test to see how it renders in your email client.

To remove the background image, click the subtraction icon to the right of the field.

Gradient

A video showing a background color being set in the right-hand properties menu. Then Add Gradient/Image is selected above the color and the user creates a linear gradient at 180 degrees with three color stops.
Set a gradient and fallback background color.

To set a gradient as the background of your email:

  1. Click Message settings.
  2. Under Styles > Background, set a fallback color in case your customers' email clients do not support gradients.
  3. Click Add Gradient/Image.
  4. Click the new field and you'll see that by default, we set a linear gradient based on your background color.
  5. To change the gradient to radial and access other settings, click the icon beside the gradient in the pop-up.
  6. You can also set layout properties. Modify the size then specify how you want the gradient to repeat or how you want to position it in the background.
  7. Preview your changes in the visual editor and send a test to see how it renders in your email client.

To remove the gradient, click the subtraction icon to the right of the field.

We do not support conic gradients.

Gradient settings

To access gradient settings, click the gradient in message settings then select the gradient preview.

In message settings, like the properties menu, a background gradient on the right hand panel was selected. This opened a pop-up with a gradient preview icon to the left of the properties menu. The preview icon was selected. A red arrow points from that to the gradient settings modal, which appears to the left of the gradient modal.
Gradient settings
Eyedropper

Use the eyedropper to identify a color not in your email yet. Any color in use in your email will appear at the bottom of the gradient pop-up.

Gradient type: linear or radial

By default, we set a linear gradient. You can change the angle of the gradient by typing a different degree (0-360).

You can also switch to a radial gradient by clicking the radial icon.

Color stops

Add color stops by clicking a location on the top slider. While selected, choose an existing color from the bottom or type in the hex or rgba value.

Alternatively, you can choose a color from the second slider then change the shade up top. Adjust the opacity as you see fit on the bottom slider.

Click the trash icon to delete the selected stop.

Fallbacks

If you're setting a background on your message or component, set a solid color as a fallback. Not all email clients support gradients and background images, but they do solid colors. You can find out more about email client support at Can I Email.

Example of a properties menu. Under styles, the first field is background. Three values have been specified. The top one is an image, followed by a blue gradient, followed by a solid blue color. width
Example of background color set as a fallback

Also note, your background settings are evaluated from top to bottom. In the example above, if the email client doesn't support multiple, layered backgrounds or if it doesn't support gradients, then we will provide a fallback of the image over the solid, background color. If images aren't supported either, then just the solid color background will render.