App themes

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

In some cases, you may leverage the built-in support for ASP.NET themes. You can use them for setting styles of controls that do not have their own CSS class name, such as Datagrid or Calendar.

 

The name of the theme folder under App_Themes must be same as the code name of the site CSS stylesheet. So if you use the Green stylesheet on your site, your theme must be stored in the App_Themes\green sub-folder.

 

You need to add your skins to the default.skin file. Here's an example of CMSCalendar / Calendar web part skin:

 

<cc1:CMSCalendar Runat="server">

<NextPrevStyle ForeColor="Red"></NextPrevStyle>

<WeekendDayStyle BackColor="#E0E0E0"></WeekendDayStyle>

</cc1:CMSCalendar>

 

 

 

 

website design files

 

It's recommended that you store all images or Flash movies that are part of the website design template in the application theme folder. This ensures that the files are exported together with website when your deploying it to some other server.

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?app_themes.htm