# Shopping-worlds, number of lines at Artikel-slider element

**URL:** <https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957>\
**Category:** International (English Only)\
**Tags:** themes--design\
**Created:** [11. Dezember 2015 um 17:25 UTC](https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957 "2015-12-11T17:25:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![U365](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@U365](https://forum.shopware.com/u/U365)\
**Post date:** [11. Dezember 2015 um 17:25 UTC](https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957/1 "2015-12-11T17:25:26Z")

</div>

Hello community, :shopware: i am wondering how to add more than just 1 line of artikle slider, without using many of them but just one and rezising the element inside shopping-worlds. For example 4 lines of Top seller are right now achivable by using 4 Artikle-Sliders, my point is to use only one and self configure how many lines will be showen. Looking for advice. :happy: Bets regards :thumbup:

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. Dezember 2015 um 21:50 UTC](https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957/2 "2015-12-11T21:50:21Z")

</div>

This is handled by the data Attribute data-itemminwidth=„xxx“ which then calculates the width of the item and therefore also the number of items which are displayed in the slider. Add the data attribute to the .product-slider: [https://github.com/shopware/shopware/bl … er.tpl#L19](https://github.com/shopware/shopware/blob/5.1/themes/Frontend/Bare/widgets/emotion/components/component%5C_article%5C_slider.tpl#L19)

---

<div class="post-metadata">

**Author:** ![U365](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@U365](https://forum.shopware.com/u/U365)\
**Post date:** [12. Dezember 2015 um 14:29 UTC](https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957/3 "2015-12-12T14:29:18Z")

</div>

Hello, i tried that, the result i attached to screen. [http://postimg.org/image/eoloh2pvd/](http://postimg.org/image/eoloh2pvd/) it worked in some way, now it displays 10 per container how can i adjust the height of the product inside container and also make so if i use double amount of grids, it display then 2 sliders inside container, if tripple, then 3rd slider and so on. (talking about the 3rd container on the screenshot. Thanks and best regards. :thumbup:

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [12. Dezember 2015 um 14:42 UTC](https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957/4 "2015-12-12T14:42:18Z")

</div>

You may have a look which product template is loaded: [https://github.com/shopware/shopware/bl … les.tpl#L4](https://github.com/shopware/shopware/blob/5.1/themes/Frontend/Bare/widgets/emotion/slide%5C_articles.tpl#L4) Therefore you have to edit the specific productbox template: [https://github.com/shopware/shopware/bl … motion.tpl](https://github.com/shopware/shopware/blob/5.1/themes/Frontend/Bare/frontend/listing/product-box/box-emotion.tpl) Of course you can also add your very own product box templates. You may also have a look @ [https://developers.shopware.com/designe … roduct-box](https://developers.shopware.com/designers-guide/custom-listing-page/#custom-product-box) for custom product templates.

---

<div class="post-metadata">

**Author:** ![U365](https://avatars.discourse-cdn.com/v4/letter/u/f1d935/32.png) [@U365](https://forum.shopware.com/u/U365)\
**Post date:** [13. Dezember 2015 um 21:29 UTC](https://forum.shopware.com/t/shopping-worlds-number-of-lines-at-artikel-slider-element/32957/5 "2015-12-13T21:29:42Z")

</div>

Ok, that seems little more complecated as expected, gonna take a look later on that. Thanks anyways, solved. Best regards. :thumbup:
