Keep images aligned in dark mode
When an image has a dark mode version, both versions use the same alignment, size and padding. You only set them once.Before you start
- Open an email in the builder.
- Have an image with a dark mode version. You can add a dark-mode image to the Content item, or fill in Source (dark) in the image’s Settings.
Steps
- Select the Image on the canvas (HTML or AMP).
- In Settings, set Horizontal Align and anything else you need, such as Vertical Align, Width and Height, Responsive or padding.
- Turn on Dark preview in the toolbar (the moon icon).
- Check the dark image sits in the same place, at the same size, as the light one.
Good to know
- There are no separate settings for dark mode. One set of image settings covers both.
- If the dark image looks out of place, turn Dark preview off and on again, or refresh the page.
- On the AMP canvas, click the image so Settings shows Image, then use the same controls.