More in this section
Forums / Designing & Styling / Website Template/Theme vs ResourcePackages Bootstrap Overlap and Best Practice

Website Template/Theme vs ResourcePackages Bootstrap Overlap and Best Practice

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.
1 posts, 0 answered
  1. Jacques
    Jacques avatar
    427 posts
    28 Jun 2007
    15 Jun 2016
    Link to this post

    When you create a Website Template / Theme using Thunder it automatically generates a number of CSS files, some in the Global folder others in the Styles folder as well as a bunch of images in the Images folder: 

    Global Folder: 

    • cssLoadOrder.xml
    • Layout.css
    • Reset.css

    Styles Folder: 

    • events.widget.css
    • fancybox.css
    • galleria.classic.css
    • icons.css
    • nav.widget.css

    Question: When are the CSS files in the Styles folder used? 

    Then, if you decide to use a resource package like Bootstrap there seems to be some overlap. For example the resource package for Bootstrap has a reference to Normalize which seems to be an overlap for what the Website Template/Theme's reset.css is intended for. 

    Question: If you're using both a Theme and a Resource Package should one first clean up the Theme's CSS files, i.e. remove them and then add new ones simply to customize the output from the Resource Package so as to preserve upgradability for Resource Package? 

    Question: If the answer to the above question is 'Yes' remove those CSS files, then what else needs to be considered in terms of a clean up so that there isn't additional unnecessary CSS being rendered? 

1 posts, 0 answered