# Background image cannot be cleared

{% hint style="info" %}
Shopware Issue: <https://github.com/shopware/shopware/issues/10702>
{% endhint %}

<figure><img src="/files/RY2a75e6rF5nk24A9vYW" alt=""><figcaption></figcaption></figure>

Even after removing/deleting the image in the admin UI, the storefront still renders the default value after saving and recompiling the theme. Affected versions: includes Shopware 6.6.10.4 and 6.7.0.0 (as stated in the issue; other versions may be affected as well).&#x20;

Impact in our demo: The configured background image cannot be unset via the theme configuration at the moment.

#### Workaround 1 (recommended): Force “no background image” via CSS

If your goal is to stop rendering the background image, override it with CSS:

```
body {
    background-image: none;
}
```

How to add custom CSS to the theme is documented [here](/en/settings/custom-code.md).

#### Workaround 2 (DB workaround, requires database knowledge)

If you need the field to be truly “unset”, you can neutralize the stored config value in the database:

1. In the theme configuration, set any image once and save.
2. In the database table themes, select your theme and edit the `config_values` column:
   * Find the entry for `zen-layout-bg-img`
   * Remove the stored media ID from the value
3. Save a single blank space as the value (do not use any other character, otherwise the storefront may produce a 404).
   * Example: `"zen-layout-bg-img": {"value": " "}`
4. Reload the Administration (browser refresh).
5. Save & recompile the theme again.


---

# 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://themedocs.zenit.design/en/faq/known-issues/background-image-cannot-be-cleared.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.
