# Storefront in Plugin Entwicklung fehlerhaft

**URL:** <https://forum.shopware.com/t/storefront-in-plugin-entwicklung-fehlerhaft/93404>\
**Category:** Shopware 6 (German)\
**Tags:** programming\
**Created:** [12. März 2022 um 11:45 UTC](https://forum.shopware.com/t/storefront-in-plugin-entwicklung-fehlerhaft/93404 "2022-03-12T11:45:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rupprecht-tim](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rupprecht-tim](https://forum.shopware.com/u/rupprecht-tim)\
**Post date:** [12. März 2022 um 11:45 UTC](https://forum.shopware.com/t/storefront-in-plugin-entwicklung-fehlerhaft/93404/1 "2022-03-12T11:45:27Z")

</div>

Hallo,

ich habe mein erstes Plugin erstellt und installiert. Dabei bin ich dieser Anleitung gefolgt. [Add CMS block - Shopware Developer](https://developer.shopware.com/docs/guides/plugins/plugins/content/cms/add-cms-block)

Ich will den vorhanden Bild-Raster Block umkehren. Sodass links ein großes Bild und rechts zwei kleinere zu sehen sind. Das ist mir soweit auch gelungen. Im Admin Bereich wird sowohl in der Preview als auch im Editor das gewünscht Ergebnis angezeigt.

Nur in der Storefront wird das Ganze leider so dargestellt

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/d/b/db1be993f0d051851229e97b20db0fc54f76f408.jpeg)

Den Elementen scheinen die block-spezifische Klasse zu fehlen. Bei mir sollte das `.cms-block-image-simple-grid-reversed` sein.

Kann mir jemand weiterhelfen? Woran kann das liegen?

---

<div class="post-metadata">

**Author:** ![rupprecht-tim](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rupprecht-tim](https://forum.shopware.com/u/rupprecht-tim)\
**Post date:** [12. März 2022 um 11:46 UTC](https://forum.shopware.com/t/storefront-in-plugin-entwicklung-fehlerhaft/93404/2 "2022-03-12T11:46:46Z")

</div>

Hier noch ein Screenshot aus dem Admin-Bereich

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/5/7/57a563d3d82246b342cf695c13a30803d1c96f9d.jpeg)

---

<div class="post-metadata">

**Author:** ![rupprecht-tim](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rupprecht-tim](https://forum.shopware.com/u/rupprecht-tim)\
**Post date:** [13. März 2022 um 06:52 UTC](https://forum.shopware.com/t/storefront-in-plugin-entwicklung-fehlerhaft/93404/3 "2022-03-13T06:52:57Z")

</div>

Endlich habe ich das Problem gefunden. Die in der Docu anlegte css ist nur für die Darstellung im Administrationsbereich.  
Zusätzlich wird mindestens folgende Datei benötigt

```auto
<plugin root>/src/Resources/app/storefront/str/scss/base.scss

```

Wie bei der Entwicklung von themes. Dannach nicht vergessen die storefront zu builden

```auto
bin/build-storefront.sh

```
