# Embellishing images in CMS blocks

ThemeWare® offers various CSS decoration classes for images in CMS blocks. This instruction page will introduce all CSS classes to you.

<figure><img src="/files/2LjhZjvEx7tCV2SYD0ID" alt=""><figcaption><p>Right: Decoration class "twt-cms-image-border-semi"</p></figcaption></figure>

{% hint style="success" %}
**Tip**: You can find application examples in our [demoshops](https://demo.themeware.design/modern/en/Features/ThemeWare-CMS-styling/Embellishing-images-in-CMS-blocks-with-decoration-classes/).
{% endhint %}

***

## ThemeWare® CSS decoration classes for images

### Border

Adds a 12px thick border to images in a CMS block.

**CSS classes**

| Class                                                        | Block/Section | Description                                                          |
| ------------------------------------------------------------ | ------------- | -------------------------------------------------------------------- |
| **twt-cms-image-border** bzw. **twt-cms-image-border-solid** | Block         | Adds a 12px thick border to images in a CMS block.                   |
| **twt-cms-image-border-semi**                                | Block         | Adds a 12px thick, semi-transparent border to images in a CMS block. |

{% hint style="info" %}
**Note**: How to insert the CSS classes you will learn in our article [ThemeWare® CSS classes for Shopping Experiences](/knowledge-base/tutorials/shopping-experiences/themeware-css-classes-for-shopping-experiences.md).
{% endhint %}

**Example**

![](/files/j53SkFJU5AD7fhgvdMly)

### Shadow (Bootstrap)

Adds a drop shadow to images in a CMS block.

**CSS classes**

| Class                           | Block/Section | Description                                             |
| ------------------------------- | ------------- | ------------------------------------------------------- |
| **twt-cms-image-box-shadow-sm** | Block         | Adds a subtle drop shadow to images in a CMS block.     |
| **twt-cms-image-box-shadow**    | Block         | Adds a drop shadow to images in a CMS block.            |
| **twt-cms-image-box-shadow-lg** | Block         | Adds a noticeable drop shadow to images in a CMS block. |

**Example**

![](/files/0ut9O49qQUUXS8GmorEI)

### Shadow (ThemeWare®)

Adds a drop shadow to images in a CMS Block.

**CSS Classes**

| Class                                | Block/Section | Description                                  |
| ------------------------------------ | ------------- | -------------------------------------------- |
| **twt-cms-image-box-shadow-level-1** | Block         | Adds a drop shadow to images in a CMS block. |
| **twt-cms-image-box-shadow-level-2** | Block         | Adds a drop shadow to images in a CMS block. |
| **twt-cms-image-box-shadow-level-3** | Block         | Adds a drop shadow to images in a CMS block. |
| **twt-cms-image-box-shadow-level-4** | Block         | Adds a drop shadow to images in a CMS block. |
| **twt-cms-image-box-shadow-level-5** | Block         | Adds a drop shadow to images in a CMS block. |

**Example**

![](/files/klNPebhF2Jpvbxlu91SP)

### Border radius

Rounds off images in a CMS block.

**CSS classes**

| Class                     | Block/Section | Description                       |
| ------------------------- | ------------- | --------------------------------- |
| **twt-cms-image-rounded** | Block         | Rounds off images in a CMS block. |

**Example**

![](/files/8JmI6RucUAL5b3JGBeXQ)

{% hint style="info" %}
**Note**: You can activate or deactivate the ThemeWare® "CSS box shadow classes" and "CSS box shadow classes" as required. You can find the configuration in the Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes".
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledge.themeware.design/knowledge-base/tutorials/shopping-experiences/embellishing-images-in-cms-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
