> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brandblox.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Keep images aligned in dark mode

> Set alignment, size and padding once for both the light and dark version of an image

# 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](https://docs.brandblox.app/content/how-to-add-a-dark-mode-image.md) to the Content item, or fill in **Source (dark)** in the image's **Settings**.

## Steps

1. Select the **Image** on the canvas (HTML or AMP).
2. In **Settings**, set **Horizontal Align** and anything else you need, such as **Vertical Align**, **Width** and **Height**, **Responsive** or padding.
3. Turn on **Dark preview** in the toolbar (the moon icon).
4. 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.

## Related

* [Add a dark-mode image](https://docs.brandblox.app/content/how-to-add-a-dark-mode-image.md)
* [Preview an email](https://docs.brandblox.app/emails/how-to-preview-an-email.md)
* [Edit an image in the AMP version](https://docs.brandblox.app/emails/how-to-edit-an-image-on-the-amp-canvas.md)
* [Update an image used in emails](https://docs.brandblox.app/content/how-to-update-an-image-used-in-emails.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.