Reputation: 11700
I'm upgrading an existing site from jquery-mobile 1.0 to jquery-mobile 1.4.2.
The site had been using data-theme="b", and I'd like to maintain that styling. The problem? 1.4.2 provides only two themes, neither of which looks anything like the old theme "b".
What is the easiest way to restore the old look?
Upvotes: 3
Views: 1215
Reputation: 11700
OK. I think I've found the trick.
That should give you a theme with the old styling loaded.
Upvotes: 4
Reputation: 124
The easy way is to go to Jquery mobile roller site, ensure version 1.4.2 is selected at the top section of the page. You will be presented with swatches which will include theme b with default values (you can create new swatch b if not listed). You can then customize the look and feel of the b theme to look like what you want from the left panel; download the css from the top menu and overwrite all the necessary js and css file in your application.
Alternatively, if you are very sound in css, inspect the css files of JQuery mobile and carefully create/modify/overwrite the b section. The full css is well documented for understanding
Upvotes: 1