-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only one banner image #121
Labels
Comments
@kerner1000 working on it, thanks! |
in <div id="inSlider" class="carousel carousel-fade" data-ride="carousel">
<!-- <ol class="carousel-indicators">
<li data-target="#inSlider" data-slide-to="0" class="active"></li>
<li data-target="#inSlider" data-slide-to="1"></li>
</ol> -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="container">
<div class="carousel-caption">
</div>
<div class="carousel-image wow zoomIn">
<!-- <img src="static/img/landing/laptop.png" alt="laptop"/> -->
</div>
</div>
<!-- Set background for slide in css -->
<div
class="header-back"
style="background-image: url({{ '/static/assets/img/' | prepend: site.baseurl }}{{ site.data.index.banners[0].src }});"
title="{{ site.data.index.banners[0].title }}">
</div>
</div>
<!-- {% for banner in site.data.index.banners offset:1 %}
<div class="item">
<div class="container">
<div class="carousel-caption">
</div>
<div class="carousel-image wow zoomIn">
<img src="static/img/landing/laptop.png" alt="laptop"/>
</div>
</div>
<div class="header-back" style="background-image: url({{ "/static/assets/img/" | prepend: site.baseurl }}{{ banner.src }});" title="{{ banner.title }}"></div>
</div>
{% endfor %} -->
</div>
<!-- <a class="left carousel-control" href="#inSlider" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#inSlider" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a> -->
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is only one banner image configured, the arrows on the side of the image do not hide.
The text was updated successfully, but these errors were encountered: