More in this section
Forums / General Discussions / manually load CSS files for the template and the theme

manually load CSS files for the template and the theme

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Yinfang
    Yinfang avatar
    9 posts
    07 May 2012
    18 Oct 2012
    Link to this post
    If the website structure is like what is shown in, 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
  2. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    13 Aug 2007
    18 Oct 2012 in reply to Yinfang
    Link to this post
    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:

    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.


2 posts, 0 answered