home-slider

hasanaffe
Offline
Last seen: 4 years 4 months ago
Mon, 03/23/2015 - 00:29
#1
home-slider

Hi there,

i try to change the black layer on the pictures, because images getting dark, i want the same color of the images as they are, how can i do that?
And finaly, see the code below starting on line 103 of index-onepage.html template:

<div class="home-fullscreen tb">
<ul class="home-slider" data-background="awe-parallax">
<li>
<div class="image-wrap">
<img src="images/slider/background.jpg" alt="">
</div>
<div class="slider-content text-center">
<p><img src="images/start.png" alt=""></p>

</div>
</li>
</ul>
</div>

when i start the page, start.png is to se twice, one as original size and one in biger size as background of the original size, i want to use it only one time as original size, how can i do that?

Thanks in advance.

Ayhan

cindy
cindy's picture
Offline
Last seen: 2 days 1 hour ago
Mon, 03/23/2015 - 15:21

Hi,
1. To remove the black overlay, please open file script.js, search and remove the following code:

$('.home-slider')
.find('.image-wrap')
.append('<div class="awe-overlay overlay-default"></div>');

2. Also open file script.js then remove the following code:

// custom slider img
var background = $('.home-slider').data('background');
$('.home-slider li img')
.before(function () {
var srcImg = $(this).attr('src');
return '<div class="item-img ' + background + '" style="background-image: url(' + srcImg + ')">'; });
$('.home-slider')
.find('.image-wrap')
.append('<div class="awe-overlay overlay-default"></div>');

Log in or register to post comments