Learn to add borders and padding to the elements of your email campaigns.
EasyEditor makes it simple to add border lines and padding into your campaigns.
Here's an example of using our borders and padding tool to create a dashed white border line separating two paragraphs in a campaign.
Using the EasyEditor borders & padding tool
To create a dividing border-line as shown above, and other effects like this:
- In EasyEditor, select the block you want to apply the style to.
- Select Styles from the left-side panel.
- Select the Borders & padding section of the accordion
The 'Borders' tool has four controls:
- Style - to select whether the line is solid, dashed, or dotted
- Weight - to select the thickness of the line
- Colour - to select the colour of the line (this uses the colour picker and will remember your colours)
- Location - to select which edge of the block the border should be applied to; you can click on the edge of the square that corresponds to the edge of the block where you want to have the line. Clicking again will remove the line.
If you want to, you can add different styles, weights and colours of line to each side.
When this campaign design is reviewed, the added dashed white line can be seen.
However, as you can see from the image below, the line in our example is too close to the text above it - so we'll add some padding.
Padding is the space between the edge of the block and its contents. In this example, we'll use the 'Padding' tool to add a 10 pixel space between the bottom edge (and the dashed white border line) of the block and its contents.
Use the Size dropdown to select how big the padding should be, and then click on the diagram to select which edge should have the padding. In this example, as we want a space at the bottom of the block, we can either click on the bottom of the padding diagram, or on the down arrow. Clicking on the edge or arrow again will remove the padding.
If you want to, you can have different sizes of padding on different edges of your block.
When we review the campaign, we can now see that the border and padding have created a nice neat divider between our two news blocks.