Rajesh Kumar
Rajesh Kumar

Reputation: 2503

CSS Structure for custom theming(skinning) asp.net

I am developing a web application which will be hosted on multiple domains with different look and feel(UI).So I am planing the structure for static content(CSS,Image,JS) so that If I want to host same application on more than one domain I need to do less changes in CSS. so I have planed following sturucture

so here I will create a separate folder for each site and will write a customtheme css for the site.Am I doing right or there is any other better way to achieve this.

Thanks

Upvotes: 0

Views: 99

Answers (1)

शेखर
शेखर

Reputation: 17614

You should use App_Themes folder for this purpose.

You can create different folder inside it.
Example:-

  1. RedTheme
  2. GreenTheme
  3. YellowTheme

and you can put your individual style sheet of theme file inside this.

Here is a good example
http://www.devproconnections.com/article/aspnet2/dynamic-themes-123058

Upvotes: 1

Related Questions