Best practices, tips and tricks to get the most out of content block plugins
style
attributes such as <div style="color: red;"></div>
instead of CSS classes.
Include target=_blank
to all links
Use the full path URL for all links to ensure they can be opened
In most cases, you shouldn’t apply a background color to your plugin (unless the user is able to customize it). This is because the user might be using a custom background color on their email. By not applying a background color, your element’s background will automatically be the same as their email.
Best practices, tips and tricks to get the most out of content block plugins
style
attributes such as <div style="color: red;"></div>
instead of CSS classes.
Include target=_blank
to all links
Use the full path URL for all links to ensure they can be opened
In most cases, you shouldn’t apply a background color to your plugin (unless the user is able to customize it). This is because the user might be using a custom background color on their email. By not applying a background color, your element’s background will automatically be the same as their email.