Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"How to create single photo carousel with indicator at bottom"
Bootstrap 3.3.0 Snippet by
SyawaluddinAmin
3.3.0
jQuery
carousel
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
11.9K
 
4 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>How to create single photo carousel with indicator at bottom</h2> <h4>Syawaluddin Amin, S.Kom © 2016</h4> <h6>see more tutorial <a href="http://www.pangeran-it.blogspot.com" target="_blank">Pangeran IT</a> - have fun with <a href="https://thefunnymeme.blogspot.com" target="_blank">THE FUNNY MEME</a> - dedicated to football lovers <a href="https://futball-pro.blogspot.com" target="_blank">WALLPAPER FOOTBALL</a> - news <a href="https://www.medanmendai.com" target="_blank">MEDAN MENDAI</a></h6> <div class='row'> <div class='col-md-3'> <div class="carousel slide" data-ride="carousel" id="quote-carousel"> <!-- Bottom Carousel Indicators --> <ol class="carousel-indicators"> <li data-target="#quote-carousel" data-slide-to="0" class="active"></li> <li data-target="#quote-carousel" data-slide-to="1"></li> <li data-target="#quote-carousel" data-slide-to="2"></li> </ol> <!-- Carousel Slides / Quotes --> <div class="carousel-inner"> <!-- Quote 1 --> <div class="item active"> <blockquote> <div class="row"> <div class="col-md-3 text-center"> <center> <img src="https://placeholdit.imgix.net/~text?txtsize=14&bg=449955&txtclr=ffffff&txt=150%C3%97200&w=150&h=200"> </center> </div> </div> </blockquote> </div> <!-- Quote 2 --> <div class="item"> <blockquote> <div class="row"> <div class="col-md-3 text-center"> <center> <img src="https://placeholdit.imgix.net/~text?txtsize=14&bg=449955&txtclr=ffffff&txt=150%C3%97200&w=150&h=200"> </center> </div> </div> </blockquote> </div> <!-- Quote 3 --> <div class="item"> <blockquote> <div class="row"> <div class="col-md-3 text-center"> <img src="https://placeholdit.imgix.net/~text?txtsize=14&bg=449955&txtclr=ffffff&txt=150%C3%97200&w=150&h=200"> </div> </div> </blockquote> </div> </div> </div> </div> </div> </div> </div>
#quote-carousel { padding: 0 10px 30px 10px; margin-top: 30px; } #quote-carousel .carousel-control { background: none; color: #222; font-size: 2.3em; text-shadow: none; margin-top: 30px; } #quote-carousel .carousel-control.left { left: -12px; } #quote-carousel .carousel-control.right { right: -12px; } #quote-carousel .carousel-indicators { top: auto; bottom: 0px; } #quote-carousel .carousel-indicators li { background: green; } #quote-carousel .carousel-indicators .active { background: darkgreen; } #quote-carousel img { margin-left: 85%; } .item blockquote { border-left: none; margin: 0; }
$(document).ready(function() { //Set the carousel options $('#quote-carousel').carousel({ pauseOnHover: true, interval: 1000, }); });
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76