Skip to main content

How To Integrate The Twitter Bootstrap 3 Framework Into Your Blogger Template

In this tutorial you will learn how to integrate the Twitter Bootstrap 3 Framework with your Blogger template.






1.

We will apply the Twitter Bootstrap Framework on top of the Blogger Simple template, so as a first step go to your Blogger Dashboard --> Template and apply the Simple white template.




After applying the white Simple Blogger Template you blog will look something like this:



2.

Open the HTML Editor by going to Template --> Edit HTML. Here we will add the Twitter Bootstrap CSS and js files to the header section.




3.

Search for the closing tag of your header section and add the Twitter Bootstrap Framework and i suggest also adding the jQuery library if you plan to use the Bootstrap jQuery plugins.

Like this:

    <link href='//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css' rel='stylesheet'/>
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'/>
<script src='//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js'/>
</head>



You can now use the Twitter Bootstrap components. Let's add a search form using the code in this tutorial.

We will add this code below the Blogger PageList Gadget:

<form role="search" method="get" action="/search" class="form-inline">
<div class="form-group">
<input class="btn btn-default" id="submut" value="Search" type="submit" />
<div class="form-group">
<input id="searchBox" class="form-control" type="text" placeholder="Search" name="q"></input>
</div>
</div>
</form>


As you can see the Search Form has been added and is styled using Bootstrap3:





In future tutorials we will go into more detail about using Twitter Bootstrap with your Blog.


Please leave your questions and suggestions below.

Comments

Popular posts from this blog

iPhone 5 Rumor Roundup

Release Date The latest rumors regarding the iPhone 5 indicate that the official release date will be officially announced during the next Apple event which is to be held on September 12th 2012. According to Verizon CFO, Fran Shammo, Apple (AAPL) will stick to last year's release date and launch the iPhone 5 in October 2012. Although during the 2012 WWDC we had the opportunity to get some more details about iOS 6, no hardware specifications were released. source - 9to5mac.com Larger Screen The iPhone 5 is rumoured to have a larger, 4 inch retina display. source - Apple.pro Nano SIM According to the Financial Times, mobile carriers in Europe are stocking up on Nano SIM cards. This might be related to the release of the next generation iPhone. Smaller Dock Connector Another wide spread rumour is that Apple will release the iPhone 5 with a smaller, 8 pin dock connector. This means that new cables will be available for  new Apple devices released in the future. Did you hear any new rum...

Single Page HTML5 CSS3 Business Card Template 2.0

After seeing a huge interest in the Single Page Business Card Tutorial  i decided to create a Single Page Business Card 2.0 Template. Besides listing your title and contact details the 2.0 template also has some nice CSS3 transition effects, is available in 4 colors and the best part: IT'S FREE FOR DOWNLOAD . Demo Download CSS3 Transition Effect On hover the Name/Title block and the Contact Details blocks slide out vertically showing a centered block containing name and position, social and contact icons. Red Template Demo Blue Template Demo Yellow Template Demo Green Template Demo

HTML Codes for Romanian Characters

Character Simple Code Numerical Code Hex Code Ă &#258; &#x102; ă &#259; &#x103; Â &Acirc; &#194; &#xC2; â &acirc; &#226; &#xE2; Î &Icirc; &#206; &#xCE; î &icirc; &#238; &#xEE; Ș &#x218; &#xDA; ș &#x219; &#xDB; Ş &#350; &#x15E; ş &#351; &#x15F; Ţ &#354; &#x162; ţ &#355; &#x163;