Posted May 4, 2011, 6:56 pm in jQuery Mobile, Mobile 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.
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.
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.
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