Hello,
I've created a site management system that has a base theme that is loaded via the pages directive in the web.config:
Then, to customize the look and feel for an individual site, I reference a theme in the Page_PreInit method:
This works great. Anything defined in the Base theme gives you a standard appearance for any given component of the system. However, if you want to override the look and feel for an individual site, you can declare the same CSS definitions inside the Site Theme.
If I were to use the StyleSheet Manager to combine CSS files, when would they get loaded. My goal would be to manage all of the Base theme information with the StyleSheet Manager and still allow them to be overridden by the Site Theme.
Another side question: Would the StyleSheet Manager help beyond just combining all of the CSS files in my Base theme into a single CSS file?
Thank you.
I've created a site management system that has a base theme that is loaded via the pages directive in the web.config:
<pages ... styleSheetTheme="Base">...</pages> |
Then, to customize the look and feel for an individual site, I reference a theme in the Page_PreInit method:
Me.Theme = "SiteTheme" |
This works great. Anything defined in the Base theme gives you a standard appearance for any given component of the system. However, if you want to override the look and feel for an individual site, you can declare the same CSS definitions inside the Site Theme.
If I were to use the StyleSheet Manager to combine CSS files, when would they get loaded. My goal would be to manage all of the Base theme information with the StyleSheet Manager and still allow them to be overridden by the Site Theme.
Another side question: Would the StyleSheet Manager help beyond just combining all of the CSS files in my Base theme into a single CSS file?
Thank you.