I am facing a problem that I think many other are and yet I was not able to find a solution.
Basically I want to load a custom css after all extension's css so I can customize the way it looks without having to set important for everything.
The problem is that Joomla loads the css files before loading the extensions files therefore my custom.css or template css isn't working.
I tried
$doc->addStyleSheet($this->baseurl.'/templates/'.$this->template.'/css/custom-style.css');
after the <jdoc:include type="head" />
but it obviously isn't working.
In the joomla docs it says all third Party extension should use JHtml->addStyleSheet
to allow style override. But there are lots of extensions out there that are not doing that.
Any suggestion on how I could load the custom.css or my templates files after all extensions CSS?