"Page titles with icon"
Bootstrap 3.3.0 Snippet by texh

<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"> <div class="page-header"> <h1>Blog</h1> <span class="icon-bar"> <i class="glyphicon glyphicon-tower" aria-hidden="true"></i> </span> <h2>Recent Articles</h2> </div> </div> </div>
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300'; h1 { font-family: 'Open Sans'; font-weight: 300; text-transform: uppercase; font-size: 3.7em; } h2 { font-family: 'Open Sans'; font-weight: 300; color: #ccc; font-size: 1.9em; } .page-header { border: none; text-align: center; } .page-header h1 { margin-bottom: 6px; } .page-header h2 { margin-top: 0; } .icon-bar { font-size: 1.3em; position: relative; color: #ff9933; } .icon-bar:after, .icon-bar:before { display: block; content: ''; width: 70px; height: 1px; background: #ccc; position: absolute; left: 35px; top: 50%; margin-top: -1px; } .icon-bar:before { left: auto; right: 35px; }

Related: See More


Questions / Comments: