0
I wanted to put more than one image in this slider. Currently, I can only put one. How do I put more than one image?
HTML code
<div class="banner">
<div class="container">
<div id="top" class="callbacks_container">
<ul class="rslides" id="slider">
<li>
<div class="banner-text">
<h3>Camisa Doutor Estranho </h3>
<p>R$50,00 a vista</p>
<p>ou em 5x de R$10,00 sem juros</p>
<a href="single.html">Comprar</a>
</div>
</li>
<li>
<div class="banner-text">
<h3>There are many variations </h3>
<p>Contrary to popular belief, Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor .</p>
<a href="single.html">Learn More</a>
</div>
</li>
<li>
<div class="banner-text">
<h3>Sed ut perspiciatis unde omnis</h3>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor .</p>
<a href="single.html">Learn More</a>
</div>
</li>
</ul>
</div>
</div>
</div>
CSS code
.banner{
background: url(../images/1.jpg) no-repeat;
background-size: cover;
width:100%;
min-height: 460px;
position: relative;
}
in case, you need to take the
background: url(../images/1.jpg) no-repeat;
, and puts it inside the style="" property in the <li tag>– Murilo Melo
would look something like
<li style="background: url(../images/1.jpg);">
– Murilo Melo
doing this, place each of the desired images in the url’s, so when the slider brings the next content, the image rotates together
– Murilo Melo