Private: Home › Forums › HTML Templates › Elvyre Retina Ready HTML5 Template › Adding 4th Slides to homepage slider › Reply To: Adding 4th Slides to homepage slider
April 20, 2015 at 4:49 pm
#2798
Participant
Hello,
You have to specify the background image, otherwise the slide won’t appear.
I used the following code and the fourth slide shows normally.
<!-- slide 4 start -->
<li data-transition="fade" data-slotamount="7" data-masterspeed="1500">
<!-- main image -->
<img src="img/slider/slide-2-1.jpg" alt="slidebg1" data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat" />
<!-- layer 1 -->
<div class="tp-caption background lft"
data-x="0"
data-y="140"
data-speed="600"
data-start="1000"
data-easing="Back.easeOut"
data-endspeed="300">Some text goes <b>here</b>.
</div>
</li>
Robert