Design a Brandable User Interface by Using Themes

Themes allow you to build sites with a consistent layout. You can set them up by adding an App_Themes directory for your application, and fill it up with folders. Each folder in the App_Themes directory represents a theme. You can assign them in a number of ways, in each case using the folder name to identify the theme.

There are five levels of applying themes:

  1. @Page Theme
  2. Web.config <pages Theme=””>
  3. Local control attributes
  4. @Page StyleSheetTheme
  5. Web.config <pages StyleSheetTheme=””>

A level at the beginning of the list overrides one at the end. So when you set a theme in the Page directive, it will override all the other style settings.
Continue reading “Design a Brandable User Interface by Using Themes”