# In den Einkaufswelten ist das HTML-Element höher

**URL:** <https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128>\
**Category:** Shopware 3.5\
**Tags:** themes--design\
**Created:** [21. August 2013 um 11:16 UTC](https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128 "2013-08-21T11:16:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dreamland](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dreamland](https://forum.shopware.com/u/Dreamland)\
**Post date:** [21. August 2013 um 11:16 UTC](https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128/1 "2013-08-21T11:16:50Z")

</div>

Hallo, ich habe in den Einkaufswelten zwei HTML-Elemente eingefügt aber diese sind zwei Pixel höher als die anderen Elemente (z.B. Banner). Bei Kontrolle mit Firebug sind aber die Elemente gleich angegeben: `.emotion-inner-element-0-1 { width: 242px; height: 175px; }` jeweils mit 175px. Woran könnte dies liegen? Danke und Grüße Erik

---

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [21. August 2013 um 15:01 UTC](https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128/2 "2013-08-21T15:01:14Z")

</div>

am padding vielleicht?

---

<div class="post-metadata">

**Author:** ![Dreamland](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dreamland](https://forum.shopware.com/u/Dreamland)\
**Post date:** [21. August 2013 um 15:52 UTC](https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128/3 "2013-08-21T15:52:40Z")

</div>

Hallo pino, danke für Deine Reaktion! Alle Werte sind in Ordnung…am “padding” liegt es nicht. Jetzt habe ich vorerst per css Abhilfe geschaffen und den Wert für das Textelement um die zwei Pixel verringert. Grüße Erik

---

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [21. August 2013 um 16:10 UTC](https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128/4 "2013-08-21T16:10:44Z")

</div>

kannst du fixen in templates/\_default/widgets/emotion/components/component\_html.tpl [code]

{if $Data.cms\_title}

## {$Data.cms\_title}

{/if}  
{$Data.text}

[/code] hab in html-text-inner-element ein inline style hinzugefügt. ` style="height:{$sElementHeight-2}px" ` ich glaub das liegt am 1px border (2 x 1px = 2px -\> oben unten)

---

<div class="post-metadata">

**Author:** ![Dreamland](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dreamland](https://forum.shopware.com/u/Dreamland)\
**Post date:** [21. August 2013 um 16:26 UTC](https://forum.shopware.com/t/in-den-einkaufswelten-ist-das-html-element-hoher/15128/5 "2013-08-21T16:26:02Z")

</div>

Hi, danke :thumbup:…so geht das auch und wurde schon erledigt…natürlich dann im eigenen Template ;)! Grüße Erik
