I have a JQM app with one specific page that I do not want styled.
All I have found so far is data-role='none'
- but I don't want to have to apply that to every element on the page... Is there a way to turn if off just for this one page?
As I already pointed out here, you can also use the official, theme-less version of the CSS built specifically to allow the design of a custom theme.
In my experience, using hacks like data-enhance="false"
and data-role="none"
often breaks things with structural, non-thematic CSS as well.
With this method you are able to keep all jQuery Mobile basic functionality, you don't have to fight with hacks and overrides all the time, and you get a lighter CSS as a bonus.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With