manually load CSS files for the template and the theme
If the website structure is like what is shown in www.sitefinity.com/.../website-templates-file-structure, will the CSS files
in a subfolder of the "Global" folder be automatically loaded ? According to my experiment,
they will not be automatically loaded. What should I do if I want to manually load these CSS
files.
Hey Yinfang,
The global folder vs styles folder is to seperate between what files get automatically loaded IF that theme has been applied to the template. If you don't assign a theme, then it won't load anything.
Here's the documentation describing how to register a theme:
www.sitefinity.com/.../
If you manually want to load a .css file, you can do that by using a regular <link> tag in your masterpage and remove the '/App_Data' part from the url.
Or you can use the css widget on the page editor, click on edit and just browse to find your css file.
Jochem