More in this section

Forums / General Discussions / Can't get themes to work correctly

Can't get themes to work correctly

2 posts, 0 answered
  1. Ian
    Ian avatar
    75 posts
    Registered:
    25 Oct 2010
    22 Dec 2010
    Link to this post
    If I follow the manual for adding themes to a template file and place the themes in the ~/App_Data/WebsiteTemplates folder, any CSS files placed in ~/App_Data/WebsiteTemplates/ThemeName/Global file are not found by the browser as the /App_Data/ part of the URL is stripped.
    If I instead use an ~/App_Themes/ThemeName/ folder, then any CSS files in the ~/App_Themes/ThemeName/Global folder are included twice, once in alphabetical order, then a second time respecting cssLoadOrder.xml.

  2. Jordan
    Jordan avatar
    172 posts
    Registered:
    20 Oct 2015
    23 Dec 2010
    Link to this post
    Hello Ryan,

    The correct directory for the CSS files and a theme is inside some website template so it should be:

    ~/App_Data/Sitefinity/WebsiteTemplates/SomeTemplate/App_Themes/SomeTheme/Global

    All the best,
    Dancho
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered