Websitez.com

jQuery Mobile Themes & Swatches

Posted May 4, 2011, 6:56 pm in jQuery Mobile, Mobile Themes


JQM Includes 5 Themes

As of JQM alpha release 4.1, there are 5 themes included with the library. Currently there is no ThemeRoller for JQM, so in order to create additional themes you have to edit the jQuery Mobile CSS.

The easiest way to do this is to copy all the styling from the theme that has the most similar style to what you’re trying to create and then change the letter that signifies the style.

Currently JQM uses letter notation. Theme “a”, “b”, “c”, “d”, and “e”. As of writing this article, you must use single letter annotation.

So for example, if you copy Theme “a” styles, you would have to change all of the references to a to the letter of your choice, for example, “f”.

.ui-bar-a {
would become
.ui-bar-f {

Luckily the CSS contains comments that lets you easily see the block of CSS that is for each theme, so it is easy to copy and paste. There is no easy way such as search and replace to create a new theme with a new letter, you’ll have to manually perform the change.

Additional JQM Themes

Since JQM is relatively new, there are very few custom themes out there. Here I will give you a list of the current available themes, if you have any more, leave a comment and I will update the post.

  • http://www.emeraldcpu.com/zman3/jqm/mobileindextheme.php
  • http://www.stabinger.us/test/jqm.html

Helpful Posts On WordPress jQuery Mobile Themes

  • http://www.ifadey.com/2011/01/wordpress-theme-using-jquery-mobile/
  • http://www.catswhocode.com/blog/how-to-create-a-mobile-wordpress-theme-with-jquery-mobile
  • jQuery Mobile – Websitez

WordPress jQuery Mobile Themes

  • WP Mobile Detector contains 5 JQM Themes
  • http://www.webdevcat.com/themes
  • http://frobert.com/en/2011/03/30/generic-jquery-mobile-wordpress-theme/

3 Responses to jQuery Mobile Themes & Swatches

  1. Tim Casey September 12, 2011

    I cannot get the U of Michigan “schedule” app to work. I attempted tp open the schedule/tickets and received a picture of the stadium seating, cannot exit this to original screen?

    • Eric Stolz November 21, 2011

      Tim, it is likely that this is creating an image too big for the phone. To make this work you would probably have to contact the person who created the U of M app and ask them to make it mobile compatible.

  2. mike ilz May 2, 2012

    Hi, here are a couple great custom jQuery Mobile Themes to add to your list!

    http://bit.ly/J1pmCc
    http://bit.ly/JxYY2y

Leave a Reply

Your email address will not be published. Required fields are marked *