# Configuring Composer for Themes

Source: https://docs.arcxp.com/en/products/themes/configuring-composer-for-themes.html

To ensure a site works as expected with Themes, configure the following items in [Composer settings](https://docs.arcxp.com/en/products/composer/managing-composer-settings.html).

## Kickers/Labels

By default, the [Overline Block](https://docs.arcxp.com/en/products/themes/themes---using-content-header-blocks.html#UUID-d9d279bd-1f2a-e806-f9e1-eccea9cf9c12%5Fsection-idm234645859690872) displays the name of the content’s section (for example, “News” or “Sports”_)_ and hyperlinks to that section’s page. If the content is flagged as sponsored in Composer, then “Sponsored Content\*”\* will display. You may also configure a label in [Composer settings](https://docs.arcxp.com/en/products/composer/managing-composer-settings.html) to override these values at the story level: 

1. Configure a Label Type named basic. The Overline Block displays the basic label if it’s present in a story.
2. You can decide whether or not to Allow Free Entry of basic labels and/or create a Pick List of preconfigured options.

## PageBuilder Preview URL

Set the Page Builder Preview URL to the following value: `/pf/composer-preview/{_id}/?published=false&_ignoreCache=true&_website={canonical_website}`

![rId26.png](https://docs.arcxp.com/images/learning-center/image/img-0a42ca894455ee41ed9ac9a62b388605.png) 

This pattern matches the [Preview Unpublished Stories Resolver](https://dev.arcxp.com/themes/developer-docs/themes-setting-up-resolvers/) that you get out-of-the-box with Themes, so you should now be able to [Use The Story Preview Button](https://docs.arcxp.com/en/products/composer/managing-composer-settings/how-to-set-up-composer-preview-for-pagebuilder-or-headlessly.html#UUID-e5aa2425-8e10-9afb-0fe6-fbd6192e7169%5Fsection-idm234594052517836) on stories within Composer.

⚠️ Setting a resolver in PageBuilder makes a page/route publicly available by default. You can use Delivery tools, [Available customizations](https://docs.arcxp.com/en/products/delivery/web-gateway-customizations.html#UUID-b0f5fad9-d072-01b5-f948-401dad33bc69%5FUUID-4176e2af-e19d-1cad-387c-dd0d828325bc) to secure your composer URLs from public access.

## Featured Media

Types that will display in the **Featured Media** tab while composing a story, are configurable within [Composer settings](https://docs.arcxp.com/en/products/composer/managing-composer-settings.html). To ensure compatibility with Themes blocks: 

1. Configure a Basic (media key: **basic**) featured media type, which allows:

  - Image
  - Gallery
  - Video
  - HTML
2. Configure a Lead Art (media key: **lead\_art**) featured media type, which allows:

  - Image
  - Gallery
  - Video
  - HTML

### Media keys behavior

What appears on your site depends on the featured media keys published on the Composer story unless you override the media on the block in PageBuilder Editor. 

- If you provide `lead_art` and `basic` media keys, stories with the lead art block display the `lead_art` media, and promo blocks display the `basic` media.
- If you provide only the `lead_art` media key, stories with the lead art block display the `lead_art` media, and promo blocks display the fallback image.
- If you provide only the `basic` media key, stories with the lead art block and promo blocks display the `basic` media.
- If you do not provide featured media, the fallback image will appear on promo blocks, and lead art will not display on the story.
![rId32.png](https://docs.arcxp.com/images/learning-center/image/img-e7151c3dba21693e3f23bd10278880ca.png)
