Website Template/Theme vs ResourcePackages Bootstrap Overlap

Posted by Community Admin on 05-Aug-2018 14:46

Website Template/Theme vs ResourcePackages Bootstrap Overlap and Best Practice

All Replies

Posted by Community Admin on 15-Jun-2016 00:00

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? 

This thread is closed