<script src="http://code.jquery.com/jquery-latest.min.js"></script> <script src="js/jquery.slides.min.js"></script>.
What more should I write?
Thank you!
.image {
position:relative;
max-width: 100%;
background-size: contain;
background-repeat: no-repeat;
display: block;
margin: auto;
}
add in body:
<div class="slides">
<image class="image" src="../image1.jpg">
<image class="image" src="../image2.jpg">
<a href="#" ....><i class="... />
...
</div>
in my case it works fine. Take care for the picture height. i had to delimit the height to 500px for the media querris for smaller displays and desktops. update the css with the following specs:
/* For smaller displays like laptops */
@media (min-width: 768px) and (max-width: 979px) {
.container {
width: 724px
}
.slidesjs-container, .slidesjs-control {
height:500px !important;
}
}
/* For larger displays */
@media (min-width: 1200px) {
.container {
width: 1170px
}
.slidesjs-container, .slidesjs-control {
height:500px !important;
}
}