Bootstrap snippet: Blog item page with image

designed to help people of all skill levels - designer or developer, huge nerd or early beginner.
copy and paste the code. Use it as a complete kit or use it to start something more complex.
tags: blog



<div class="container bootstrap snippets"> <div class="row"> <div class="col-md-9"> <div class="blog-detail-box"> <p class="sub-title animated fadeInDown wow animated" data-wow-delay=".3s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInDown;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <img src="http://coderthemes.com/starto_1.1/images/blog/blog-detail.jpg" class="img-responsive center-block m-t-30" alt="img"> <blockquote class="custom-blockquote m-t-30"> <p> When an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries. </p> <footer> Someone famous in <cite title="Source Title">Source Title</cite> </footer> </blockquote> <h4 class="page-header">Printer took a galley of type and scrambled it to make a type specimen book</h4> <p class="sub-title animated fadeInDown wow" data-wow-delay=".3s" style="visibility: hidden; animation-delay: 0.3s; animation-name: none;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <div class="text-center"> <p class="sub-tt animated fadeInDown wow" data-wow-delay=".3s" style="visibility: hidden; animation-delay: 0.3s; animation-name: none;">"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book." </p> </div> <blockquote class="custom-blockquote blockquote-reverse m-t-30"> <p> When an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries. </p> <footer> Someone famous in <cite title="Source Title">Source Title</cite> </footer> </blockquote> <h4 class="page-header">Printer took a galley of type and scrambled it to make a type specimen book</h4> <p class="sub-title animated fadeInDown wow" data-wow-delay=".3s" style="visibility: hidden; animation-delay: 0.3s; animation-name: none;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <div class="blog_comments"> <h4 class="">Comments (4)</h4> <hr> <ul class="media-list"> <li class="media"> <a class="pull-left" href="#"> <img class="media-object img-circle" src="http://coderthemes.com/starto_1.1/images/team/team-1.jpg" alt="img"> </a> <div class="media-body"> <h5 class="media-heading">Johnathan deo</h5> <h6 class="text-colored">March 23, 2016, 11:45 am</h6> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam viverra euismod odio, gravida pellentesque urna varius vitae. Sed dui lorem, adipiscing in adipiscing et, interdum nec metus. Mauris ultricies, justo eu convallis placerat, felis enim.</p> <a href="#" class="text-colored"><i class="zmdi zmdi-mail-reply"></i>&nbsp; Reply</a> </div> </li> <li class="media"> <a class="pull-left" href="#"> <img class="media-object img-circle" src="http://coderthemes.com/starto_1.1/images/team/team-2.jpg" alt="img"> </a> <div class="media-body"> <h5 class="media-heading">John deo</h5> <h6 class="text-colored">March 23, 2016, 11:45 am</h6> <p>Nulla venenatis. In pede mi, aliquet sit amet, euismod in, auctor ut, ligula. Aliquam dapibus tincidunt metus. Praesent justo dolor, lobortis quis, lobortis dignissim, pulvinar ac, lorem. Vestibulum sed ante.</p> <a href="#" class="text-colored"><i class="zmdi zmdi-mail-reply"></i>&nbsp; Reply</a> <div class="media sub_media"> <a class="pull-left" href="#"> <img class="media-object img-circle" src="http://coderthemes.com/starto_1.1/images/team/team-3.jpg" alt="img"> </a> <div class="media-body"> <h5 class="media-heading">Johnathan deo</h5> <h6 class="text-colored">March 23, 2016, 11:45 am</h6> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam viverra euismod odio, gravida pellentesque urna varius vitae.</p> <a href="#" class="text-colored"><i class="zmdi zmdi-mail-reply"></i>&nbsp; Reply</a> </div> </div> </div> </li> <li class="media"> <a class="pull-left" href="#"> <img class="media-object img-circle" src="http://coderthemes.com/starto_1.1/images/team/team-1.jpg" alt=""> </a> <div class="media-body"> <h5 class="media-heading">John deo</h5> <h6 class="text-colored">March 23, 2016, 11:45 am</h6> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam viverra euismod odio, gravida pellentesque urna varius vitae. Sed dui lorem, adipiscing in adipiscing et, interdum nec metus. Mauris ultricies, justo eu convallis placerat, felis enim.</p> <a href="#" class="text-colored"><i class="zmdi zmdi-mail-reply"></i>&nbsp; Reply</a> </div> </li> </ul> </div> <!-- end blog comments --> <!-- COMMENT FORM --> <h4 class="">Leave a Comments</h4> <hr> <div class="row"> <div class="col-sm-8"> <form role="form" name="ajax-form" id="ajax-form" action="#" method="post" class="form-main"> <div class="form-group"> <input class="form-control" id="name2" name="name" onblur="if(this.value == '') this.value='Name'" onfocus="if(this.value == 'Name') this.value=''" type="text" value="Name"> <div class="error" id="err-name" style="display: none;">Please enter name</div> </div> <!-- /Form-name --> <div class="form-group"> <input class="form-control" id="email2" name="email" type="text" onfocus="if(this.value == 'E-mail') this.value='';" onblur="if(this.value == '') this.value='E-mail';" value="E-mail"> <div class="error" id="err-emailvld" style="display: none;">E-mail is not a valid format</div> </div> <!-- /Form-email --> <div class="form-group"> <input class="form-control" id="subject1" name="name" onblur="if(this.value == '') this.value='Website'" onfocus="if(this.value == 'Website') this.value=''" type="text" value="Website"> </div> <!-- /Form-Subject --> <div class="form-group"> <textarea class="form-control" id="message2" name="message" rows="5" onblur="if(this.value == '') this.value='Message'" onfocus="if(this.value == 'Message') this.value=''">Message</textarea> <div class="error" id="err-message" style="display: none;">Please enter message</div> </div> <!-- /col --> <div class="row"> <div class="col-xs-12"> <div id="ajaxsuccess" class="text-success">E-mail was successfully sent.</div> <div class="error" id="err-form" style="display: none;">There was a problem validating the form please check!</div> <div class="error" id="err-timedout">The connection to the server timed out!</div> <div class="error" id="err-state"></div> <button type="submit" class="btn btn-primary btn-shadow btn-rounded w-md" id="send">Submit</button> </div> <!-- /col --> </div> <!-- /row --> </form> <!-- /form --> </div> <!-- end col --> </div><!-- end row --> </div><!-- End blog-detail-box --> </div> <!-- end col --> <!-- RIGHT SIDE --> <div class="col-md-3"> <div class="sidebar"> <div class="widget-search"> <input type="text" class="form-control" placeholder="Search here ..."> <a href="#"><i class="zmdi zmdi-search"></i></a> </div> <hr> <h4 class="padding-t-b-10 text-bold-6 h4">Categories</h4> <ul class="nav-list"> <li><a href="#" class="text-colored">Design</a></li> <li><a href="#" class="text-colored">Photography</a></li> <li><a href="#" class="text-colored">Illustrator</a></li> <li><a href="#" class="text-colored">Graphic Design</a></li> <li><a href="#" class="text-colored">Technology</a></li> </ul> <h4 class="padding-t-b-10 text-bold-6 h4">Popular Tags</h4> <div class="tags"> <a href="#">Web design</a> <a href="#">Portfolio</a> <a href="#">tags</a> <a href="#">WordPress</a> <a href="#">Html</a> <a href="#">css</a> <a href="#">Javascript</a> <a href="#">Photoshop</a> <a href="#">Opencart</a> <a href="#">eCommerce</a> <a href="#">Marketing</a> <a href="#">WordPress</a> </div> <h4 class="padding-t-b-10 text-bold-6 h4">Text Widget</h4> <p class="text-muted">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam viverra euismod odio, gravida pellentesque urna varius vitae. Sed dui lorem, adipiscing in adipiscing et, interdum nec metus.</p> </div> <!-- End of Sidebar --> </div> <!-- end col --> </div> <!-- end row --> </div>
body{margin-top:20px;} /*======== Blog =======*/ .blog-section { padding-bottom: 30px; } .blog-post{ margin-bottom: 30px; padding-left: 15px; padding-right: 15px; } .blog-post .post-media{ width: 100%; margin-bottom: 15px; } .blog-post .post-media img{ opacity: 1; -webkit-transition: all 0.2s ease 0s; -moz-transition: all 0.2s ease 0s; -o-transition: all 0.2s ease 0s; -ms-transition: all 0.2s ease 0s; transition: all 0.2s ease 0s; border-radius: 4px; } .blog-post .post-media img:hover{ opacity: 0.7; } .blog-post .post-info{ margin-bottom: 20px; } .blog-post .post-info .date{ float: left; width: 50px; border: 2px solid #555; text-align: center; border-radius: 3px; } .post-info .date .day{ font-size: 20px; color: #333; font-weight: 600; } .post-info .date .month{ text-transform: uppercase; text-align: center; width: 100%; display: inline-block; } .blog-post .meta { padding-left: 0px; } .blog-post .meta li{ padding-right: 15px; color: #aaa; line-height: 22px; list-style: none; } .post-body p { color: #97a0af; } .blog-post .meta span{ color: #333; font-size: 13px; } .blog-post .post-info .meta-container { padding-left: 65px; } .blog-post .post-info .meta-container a h3{ margin-top: 0px; color: #111; font-size: 16px; padding-top: 5px; margin-bottom: 5px; } .blog-post .read-more { font-weight: 600; display: block; color: #666; font-size: 13px; letter-spacing: 0.03em; } .blog-wrapper .blog-item { width: 33.2%; } /* Blog-detail --*/ .blog-detail-box { padding-right: 30px; } .blog-detail-header span{ padding: 0px 10px; font-size: 16px; } .blog-detail-header span a { color: #ffffff; font-size: 16px; } .blog-detail-header span i{ padding-right: 5px; } .blog-detail .sub-title { margin-bottom: 0px; line-height: 26px; font-size: 15px; margin-bottom: 10px; } .blog-detail .sub-tt { font-style: italic; font-size: 16px; line-height: 24px; margin-top: 20px; } .custom-blockquote { border-left: 4px solid #374760; background: #eef2f5; line-height: 28px; font-size: 17px; font-style: italic; } .blockquote-reverse { border-right: 4px solid #374760; border-left: none; padding-left: 30px; line-height: 28px; } .blog_comments { margin-top: 60px; padding-bottom: 30px; } .media img{ width: 52px; height: 52px; } .media-body a { float: right; font-size: 13px; } .media-body h6 { font-style: italic; } .widget-search i { position: absolute; top: 0; right: 30px; line-height: 38px; text-align: center; color: #999; font-size: 18px; } .widget-search a i:hover{ color: #374760; } .nav-list{ list-style: none; padding: 0; padding-bottom: 20px; } .nav-list li{ padding: 7px 0px; width: 100%; } .nav-list li a{ font-weight: 600; } .nav-list li a:hover{ color: #333b4d; } .tags{ padding-bottom: 30px; } .tags a { font-size: 11px; line-height: 30px; color: #90979f; background: #e6edf2; padding: 5px 12px; margin-right: 2px; border-radius: 3px; } .tags a:hover { color: #fff; background: rgba(51,59,77,.7); -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } /*======= Responsive ======*/ @media (min-width: 768px) { .nav-custom-left { margin-left: 5%; } .navbar-nav>li>a { padding-top: 10px; padding-bottom: 10px; } .contact-page .col-sm-6 { padding-left: 30px; padding-right: 30px; } } @media (max-width: 768px) { .navbar-custom { -moz-box-shadow: 0 2px 2px rgba(0,0,0,.1); -webkit-box-shadow: 0 2px 2px rgba(0,0,0,.1); box-shadow: 0 2px 2px rgba(0,0,0,.1); } .screen-space { margin: 0px auto 50px auto; } .feature-detail { padding: 0px 0px 50px 30px !important; } .footer h5 { margin-top: 30px; } } @media only screen and (min-width: 768px) and (max-width: 991px){ .blog-wrapper .blog-item { width: 50%; } .navbar-custom .navbar-nav li a { font-size: 12px; } .blog-detail-box { padding-right: 0px; } } @media only screen and (min-width: 767px) and (max-width: 991px){ } @media (max-width: 767px) { .blog-wrapper .blog-item { width: 100%; } .logo { margin-top: 7px; } .blog-detail-box { padding-right: 0px; } } /*======= Contact ======*/ .form-control { box-shadow: none !important; outline: none !important; border: 2px solid #cecece; height: 38px; } .form-control:hover ,.form-control:focus{ border-color: #97a0af; } .btn-primary { border: 1px solid #f16000 !important; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open > .dropdown-toggle.btn-primary, .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover { background-color: #d85600 !important; border: 1px solid #d85600 !important; } .btn-shadow.btn-primary { box-shadow: 1px 5px 9px rgba(241, 96, 1, 0.32); }
Dey-Dey

Blog item page with image

Dey-Dey
  Apr 15th, 20:21
41 Views