It probably makes most sense for ProtoStar to load user.css
last but there are a few ways to work around stylesheet load order issues without hacking the core.
1. jQuery Easy
jQuery Easy can be used to remove the stylesheets and then add them back in the desired order.
2. Specificity
Make custom CSS changes specific enough so that they override the other stylesheets regardless of the stylesheet order.
Reference: http://joomla.stackexchange.com/a/15853/120https://joomla.stackexchange.com/a/15853/120
3. Use a Third Party Extension to load your custom CSS file
Instead of using user.css
for your custom CSS, try some third party extensions which may load custom CSS files in a different order compared to the ProtoStar user.css
stylesheet. For example, EasyScript loads a custom CSS file e.g. custom.css
last.
Reference: How can I load the new Protostar custom CSS stylesheet last?How can I load the new Protostar custom CSS stylesheet last?