> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# How to apply your site’s image styles

Pick one of your WordPress site’s image block styles for an image in Workover, so it publishes with that style and nobody has to apply it in wp-admin.

WordPress lets a site offer styles for its image blocks: **Rounded** comes with WordPress, and your theme or plugins can add their own, such as a shadow or a border. In Workover you can pick one of those styles for an image while you write, so the image publishes with it and nobody has to open wp-admin afterwards to apply it.

**Before you start:** the document must be in a project connected to a WordPress site, and you need the editor or owner role on it. See [How to connect a WordPress site](https://workover.io/docs/wordpress/connect).

## Apply a style

1. Click an image in the document. Its menu appears above it: **Edit**, **Add caption** (or **Remove caption**), **Style** and **Remove**.
2. Click **Style**. It shows the image’s current style, and **Default** for an image with none.
3. Choose a style from the list. The image changes in the editor straight away.
4. Push the document to WordPress as usual. See [How to push a document to WordPress](https://workover.io/docs/wordpress/push).

![A selected image with its menu showing Edit, Add caption, Style and Remove, and the Style list open on Default, Rounded and Box Shadow, with "Applied on your site" under Box Shadow](https://api.workover.io/public/sites/4/media/eyJidWNrZXQiOiJkb2NzIiwia2V5IjoiZG9jLW1lZGlhL3NoYXJlZC8yNGQzMGU2OWRkZjUxOTRkOTQ3YTU1NDdmYWE4MjQzMGViMGQwYjU0LnBuZyIsInNjb3BlIjoic2hhcmVkIn0.A6O7_yDUOKQt709KopJC0oH2sLRu1gV2UXx1DIimMpg)![The same image after choosing Rounded, drawn with rounded edges in the editor and the menu reading Style Rounded](https://api.workover.io/public/sites/4/media/eyJidWNrZXQiOiJkb2NzIiwia2V5IjoiZG9jLW1lZGlhL3NoYXJlZC8xNjg2ZGM5MmRmNTBhY2RhYmFlNTdkNmI3YjBkZGM1NTJlMzNjNGZiLnBuZyIsInNjb3BlIjoic2hhcmVkIn0._L6tneKAJJxkZsde2mRL5cqDHohgkQdEM_883TMe3cE)

To take a style off, choose **Default**.

You can also use the keyboard: with **Style** focused, press **Enter**, **Space** or **↓** to open the list, **↑**, **↓**, **Home** and **End** to move, **Enter** to apply and **Esc** to close it.

A style works on images with or without a caption, and it stays when you add or remove a caption.

## Which styles are listed

The list shows **Default** first, then:

- **Rounded**, which comes with WordPress.
- Styles your theme or plugins register on the server.
- Section styles from your block theme that apply to images. WordPress does not share their names, so Workover shows a name made from each style’s slug.

Styles a site adds only in the block editor’s JavaScript are not listed, because WordPress does not tell anything outside the block editor about them.

## What you see in the editor

Workover draws **Rounded** and simple styles such as a border or a shadow in the editor. A style it cannot draw shows **Applied on your site** under its name in the list. The image looks unchanged in Workover, and the style shows on the published page.

## Images that already have a style

When you import a post, or pull it from WordPress, its images keep the style they have on the site, and **Style** shows it. Pushing the document leaves that style in place until someone picks another one.

## If Style does not appear

**Style** appears only when Workover can read the site’s image styles. It does not appear when:

- The project is not connected to a WordPress site.
- WordPress refuses the connection’s credentials. Reconnect the site in **Project settings**.
- The site offers nothing besides **Default**.

Workover keeps a site’s list of styles for up to 30 minutes. To pick up a style you just added to your site, select **Sync from WordPress** in the project.

## Related

- [Images and media](https://workover.io/docs/editor/images-and-media)
- [How to push a document to WordPress](https://workover.io/docs/wordpress/push)
- [Custom blocks, ACF and the block editor](https://workover.io/docs/wordpress/custom-blocks-and-acf)
