I am trying to load my variables stylesheet first above everything else. In what order do stylesheets get called between the pages/layouts/partials etc and how can I best practice call my stylesheets?
For example, in the "code" tab of my {% Meta %} partial I have:
function onStart() { $this->addCss('assets/css/var.css'); }
And on my home page {% page %} I have the {% Meta %} called in the markup tab (html) and then in the code tab:
function onStart() { $this->addCss('assets/css/Pages/home.css'); }
So basically, I would like to load my var and general stylesheets first and the "homepage" stylesheet last. But, as I currently have it, it loads the homepage stylesheet first. How can I load them in the correct order?
Last updated