Styling a Responsive Template with jQuery Theme Roller

Responsive Template without styles

Now that you have your responsive template, you have the Theme from Theme Roller, you can style your theme and make it look professional. This article is written so you can follow through the HTML of the Responsive Template and create the look and feel your want for your site. Please download the files for the Responsive Template Below.

Theme Roller Responsive Template Demo


NOTE! This tutorial is assuming you followed the previous tutorials for Creating Responsive Templates. The Template Code in this tutorial is an altered version of the previous tutorials.

Adding the CSS from Theme Roller to your Responsive Template

After you download the files for the template, you can follow the steps below to see what code changes were made in the HTML code.

  1. Download a theme from Theme Roller.
  2. text

    Extract the Theme Roller files to your computer. Rename the index.html file in the Theme Roller folder to styles.html.

  3. text

    Copy the styles.html file, js folder and the css folder to your Responsive Template folder.

  4. text

    Open the styles.html file in your Text editor or HTML editor. Copy the links to the css files, the JavaScript and Styles in the head section and paste them into your Responsive template index.html file head section.

  5. Theme Roller creates classes for your site with the styles set up in the CSS stylesheet. You simply need to apply the styles to your website. Edit the HTML code for your index.html. We will add the following classes to the HTML.

    Premade jQuery Theme Roller Classes

    ui-widget-content ui-corner-all ui-state-hover ui-state-default ui-state-active ui-icon

    Add the following classes to the code.

    <div id="header-content"> add <div id="header-content" class="ui-widget-content">
    <div id="main-content"> add <div id="main-content" class="ui-state-hover">
    <div id="banner"> add <div id="banner" class="ui-corner-all">
    <div class="box"> add <div class="box ui-corner-all ui-widget-content">
    <div id="footer-content"> add <div id="footer-content" class="ui-widget-content">

    text

    To learn more about CSS classes, check out our tutorial on CSS.

    When done you should see your code look like the snapshot to the right.


  6. Save the file and look at your Responsive Template. You should see the theme look like the snapshot to the right.
    text

    Tablet View

    text

    Mobile View

    text

    Desktop View


Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+