---
title: "Adding the Bootstrap files to your Responsive Template"
description: "Once you have the Bootstrap Theme Roller created and downloaded. You will need to add the files to your website. The image to the right shows what the responsive template looks like before you add..."
url: https://www.inmotionhosting.com/support/website/website-design/adding-the-bootstrap-files-to-your-responsive-template/
date: 2013-06-14
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["Website Design"]
type: post
lang: en
---

# Adding the Bootstrap files to your Responsive Template

[![Responsive template with no Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme.png)

Once you have the [Bootstrap Theme Roller created and downloaded](/support/edu/wordpress/bootstrap-theme-roller/). You will need to add the files to your website. The image to the right shows what the responsive template looks like before you add the Bootstrap Theme. You can compare what the theme looks like before the bootstrap is added and after in the following files. Below are the files you will need for the tutorial.

[responsive-theme-start.rar](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_responsive-theme-start.rar)
[Demo Responsive Template without Bootstrap added](images/stories/edu/website-design/206/bootstrap-files/responsive-theme-orig)

[responsive-theme-final.rar](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_responsive-theme-final.rar)
[Demo the Responsive Template with Bootstrap added](images/stories/edu/website-design/206/bootstrap-files/responsive-theme-final)

Once you have the Responsive template files and the Bootstrap Theme Roller style, follow the steps below to add the Bootstrap files to your site.

## Copy the necessary Bootstrap files

The first thing you will need to do is copy all the Bootstrap Theme Roller files to your Responsive Template. Below are the steps to do this.

1. [![Copy files Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-1-copy.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-1-copy.png) Extract the files from the Bootstrap archive on your local computer. Copy the *js*, *img*, and *css* folders with the files in them to your Responsive Template folder.
2. [![Save the Bootstrap Theme Roller page](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-2-save-page.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-2-save-page.png) Click “*Save A*s” in your browser to download the html from the [Bootstrap Theme Roller page](https://www.bootstrapthemeroller.com) to your local computer. **Note!** Downloading the Bootstrap Theme Roller page to your computer will save a copy of all the code you will need to add the styles to your Responsive Template. This is for your reference only and will be used through out this tutorial series to get the code you need for your Bootstrap theme.
3. [![Rename teh files Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-3-rename.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-3-rename.png) Rename the page to *ThemeRoller.htm* and save the page. You will have an html page and a folder holding all the files.
4. [![Copy files Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-4-copy-files.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-4-copy-files.png) Drag the *ThemeRoller.htm* and the folder for it into your Responsive Template folder. [![File View Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-5-file-view.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-5-file-view.png) You should see the folders look like the snapshot to the right. This allows you to have a full copy of all the HTML code for the buttons, forms, dropdowns and everything you will need.

## Add the JavaScript and CSS links to the head

1. Open up the *ThemeRoller.htm* page in an HTML editor.
2. [![Links to the Scripts Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-6-scripts.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-6-scripts.png) On lines 6194 to 6201 the code you need for your Responsive template can be found. The line numbers may vary. The important code is the like following. **Important!** The *ga.js* and the *jquery.js* are required for the drop menus and other behaviors to work. If your menus do not work, you may not have these files. <script src="ThemeRoller/ga.js" async="" type="text/javascript"></script> <script src="ThemeRoller/jquery.js"></script> <script src="ThemeRoller/bootstrap.js"></script> <script type="text/javascript"> $('#loadingModal').modal('show'); $(function(){ $('#loadingModal').modal('hide'); }); </script>
3. [![Paste teh scripti links Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-7-paste-scripts.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-7-paste-scripts.png) Open the *index.html* page of your responsive template. Paste the script code in the head section of your template. You can place the code after the stylesheet links.
4. [![rename the paths Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-8-rename.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-8-rename.png) Rename the links in the scripts to your folder location. In this case, the *js* folder holds the JavaScripts so we will rename the *ThemeRoller* part of the link to *js*. The final code is below. <script src="js/ga.js" async="" type="text/javascript"></script> <script src="js/jquery.js"></script> <script src="js/bootstrap.js"></script> <script type="text/javascript"> $('#loadingModal').modal('show'); $(function(){ $('#loadingModal').modal('hide'); }); </script>
5. [![CSS link to the Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-11-css-link.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-11-css-link.png) Add the link to your stylesheet in the head section. This will link your Bootstrap styles to your Responsive template. The code is below. <link href="css/bootstrap.css" rel="stylesheet">

## Copy ga.js and jquery.js

[![Copy th JavaScripti files Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-9-copy-js-files.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-9-copy-js-files.png)

Now that you have the links in your head section, you will need to copy the *ga.js* and the *jquery.js* to your *js* folder in your Responsive Template. Copy the *ga.js* and the *jquery.js* files to your *js* folder.

[![View of files in the folder Bootstrap Theme Roller](https://www.inmotionhosting.com/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-10-js-view.png)](/support/wp-content/uploads/2013/06/edu_website-design_206_bootstrap-files_create-bootstrap-theme-10-js-view.png)

When all done you should have the following JavaScript files in your js folder. See image to the right.

bootstrap.js bootstrap.min.js ga.js jquery.js
Now you have all the files necessary to develop your Bootstrap Responsive template. The next step is to add th SS classes and the HTML code to your site to make the styles come alive.
