> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weltpixel.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Pearl Theme styles not applied or design issues after switching Magento to Production Mode?

If you notice **styles not applying** or **design issues** after switching Magento to **Production Mode**, make sure you **regenerate the Pearl Theme LESS/CSS** *after* enabling Production Mode.

---

## What to Do

You can regenerate from **Admin** or via **SSH**.

### Option A — From Admin
Go to **System → Tools → Cache Management** and use **Regenerate Pearl Theme LESS/CSS files**.

![Regenerate Pearl Theme LESS/CSS](https://storage.crisp.chat/users/helpdesk/website/-/b/3/6/5/b36596e975ff8800/7e2370b0-0f16-4533-8380-46c38d_xvbdu7.png)

---

### Option B — From SSH (Magento CLI)
Run the following Magento CLI commands from your store root:

- `php bin/magento weltpixel:less:generate`  
- `php bin/magento weltpixel:css:generate --store="CODE"`

> Replace `"CODE"` with the **store view code** you want to generate for.

---

## Why This Matters

If you switched to **Production Mode** without regenerating the theme’s **LESS & CSS**, some styles will **not** apply properly. In multi-store setups, CSS needs to be **generated per store view**.

---

## Tips

- After generation, if changes don’t appear immediately, clear caches from **System → Cache Management**.
- For multi-store environments, repeat the `weltpixel:css:generate` command with the correct `--store` code for **each** store view.