"Carousel Static Headline Caption"
Bootstrap 3.1.0 Snippet by BhaumikPatel

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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"> <div class="col-md-12"> <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="item active"> <img src="http://placehold.it/1200x500/3498db/2980b9" alt="First slide"> <div class="carousel-caption"> <h3> First slide</h3> <p> Nulla vitae elit libero, a pharetra augue mollis interdum.</p> </div> </div> <div class="item"> <img src="http://placehold.it/1200x500/9b59b6/8e44ad" alt="Second slide"> <div class="carousel-caption"> <h3> Second slide</h3> <p> Nulla vitae elit libero, a pharetra augue mollis interdum.</p> </div> </div> <div class="item"> <img src="http://placehold.it/1200x500/34495e/2c3e50" alt="Third slide"> <div class="carousel-caption"> <h3> Third slide</h3> <p> Nulla vitae elit libero, a pharetra augue mollis interdum.</p> </div> </div> </div> <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span></a><a class="right carousel-control" href="#carousel-example-generic" data-slide="next"><span class="glyphicon glyphicon-chevron-right"> </span></a> </div> <div class="main-text hidden-xs"> <div class="col-md-12 text-center"> <h1> Static Headline And Content</h1> <h3> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </h3> <div class=""> <a class="btn btn-clear btn-sm btn-min-block" href="http://www.jquery2dotnet.com/">Login</a><a class="btn btn-clear btn-sm btn-min-block" href="http://www.jquery2dotnet.com/">Registration</a></div> </div> </div> </div> </div> </div> <div id="push"> </div>
.main-text { position: absolute; top: 50px; width: 96.66666666666666%; color: #FFF; } .btn-min-block { min-width: 170px; line-height: 26px; } .btn-clear { color: #FFF; background-color: transparent; border-color: #FFF; margin-right: 15px; } .btn-clear:hover { color: #000; background-color: #FFF; }

Related: See More


Questions / Comments:

Can i have same slider for dynamic image values.

saran () - 9 years ago - Reply 0


Thanks for this! It solved several problems. In addition to the static headline, I was also able to implement a second instance and replace the indicators with a static thumbnail bar at the bottom inside the carousel. Good job.

maestrodks () - 9 years ago - Reply 0


Nice snippet.. thanks for sharing with us!!

Miguel Machado () - 9 years ago - Reply 0


I want to stop the autoslide how can we stop? please suggest

jagjit () - 9 years ago - Reply 0


Great one!

chasefoto () - 10 years ago - Reply 0


How can i make this slider full width?

EJ () - 10 years ago - Reply 0


You would have to take it out of the .container class because anything in .container is within the Bootstrap grid.

maxsurguy () - 10 years ago - Reply 0


Usefull but it's not working with the Lumen theme, the buttons are wrong displayed

Charlie Brandon Camus () - 10 years ago - Reply 0


What is the problem may be i can help

abuasmaa () - 10 years ago - Reply 0


Needsomejavascriptplease!!!

drquochoai () - 10 years ago - Reply 0


Missing some javascript?

Lewis () - 10 years ago - Reply 0


It is a bootstrap slider. Just use the jquery.min.js, bootstrap.min.js and bootstrap.min.css

Joel Muriuki () - 7 years ago - Reply 0