index-onepage.html and bg-home.jpg

houarim
Offline
Last seen: 6 months 1 week ago
Sat, 08/15/2015 - 22:46
#1
index-onepage.html and bg-home.jpg

Hi,

There is a problem with the background image (bg-home.jpg) in your index-onepage.html

When you go to the demo link: http://envato.megadrupal.com/html/road/index-onepage.html you will see that the parallax background image repeats vertically.

The image dimensions are probably incorrect: 1560 x 882 ?

Please let me know if I should change something in the CSS or the image dimensions so that it doesn't repeat itself.

Thank you !

cindy
cindy's picture
Offline
Last seen: 2 days 13 hours ago
Mon, 08/17/2015 - 10:07

Hi,
Please open file style.css, line 251:

html .awe-parallax {

and add the attribute:

-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
background-size: cover;

Next, go to line 4533 and remove the code:

@media screen and (min-width: 1200px) {
html .awe-parallax {
background-size: 100%;
}
}

houarim
Offline
Last seen: 6 months 1 week ago
Tue, 08/18/2015 - 00:17

cảm ơn bạn cindy !

Log in or register to post comments