Managing CSS Files
- It’s easier to read and understand the purpose of the code and what module it belongs to.
- It allows Drupal to load only the code needed on a given page.
- It’s easier for Drupal to maintain these files and their contents.
That said, in Drupal’s theme layer you have full control over all stylesheets and scripts. You can do whatever you want with them, literally. If you decide you don’t want to load any stylesheets from modules, you can remove them all. If you aren’t happy with a few files, you can override them individually by removing them or override them and change the contents within the theme. You can even change the order in which the files load if you want to. This section will show you how to do all of that.