<div class="container">
<div class="gaming">
<div id="carousel-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-generic" data-slide-to="1"></li>
<li data-target="#carousel-generic" data-slide-to="2"></li>
<li data-target="#carousel-generic" data-slide-to="3"></li>
<li data-target="#carousel-generic" data-slide-to="4"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="<?=$this->getLayoutUrl('img/slider/slider_1.jpg') ?>" alt="Slider 1">
</div>
<div class="item active">
<img src="<?=$this->getLayoutUrl('img/slider/slider_2.jpg') ?>" alt="Slider 1">
</div>
<div class="item active">
<img src="<?=$this->getLayoutUrl('img/slider/slider_3.jpg') ?>" alt="Slider 1">
</div>
<div class="item">
<img src="<?=$this->getLayoutUrl('img/slider/slider_4.jpg') ?>" alt="Slider 2">
</div>
<div class="item">
<img src="<?=$this->getLayoutUrl('img/slider/slider_5.jpg') ?>" alt="Slider 2">
</div>
</div>
<a class="left carousel-control" href="#carousel-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
Hier eine Vorlage mit 5 Slidern wen du Weiter Bilder Hinzufügen möchtest einfach das dazu nehmen.
<div class="item active">
<img src="<?=$this->getLayoutUrl('img/slider/....') ?>" alt="...">
</div>
Die (...) Bearbeiten mit dem Bild name sowie alt=""
<li data-target="#carousel-generic" data-slide-to="4"></li>
und diese oben weiter führen mit 5
Grüße
Zuletzt modifiziert von BlackRomeo am 26.11.2021 - 21:23:26