page theming

page theming

I have a little struggle with the default theme ... I try to use the black theme (a) or later my own. I thought it would be enough to just add the attribute to the following div

  1. <div data-role="page" data-theme="a" id="container">

but it turns out that not all elements get the a-theme. Submits and listviews default to c-theme.

any idea why? Documentations says that all elements with no data-theme attribute default to c-theme but I thought my code would globally set the wanted theme. Do I really have to add a data-theme attribute to all buttons and lists?

thanks







    • Topic Participants

    • post