Hello,
We have changed the css order in the last update, because earlier it was impossible to override the mobile CSS files.
I recommend you to improve your CSS code. If you really don't want to do it, please apply the following changes:
1) In the
layouts/blocks/head.php file, please add the following code:
- Code: Select all
if($this->API->get("css_override", '0')) {
$this->API->addCSS($this->API->URLtemplate() . '/css/override.css');
}
before the following line:
- Code: Select all
$this->API->addCSSRule($this->API->get('css_custom', ''));
2) in the
lib/framework/helper.layout.php file, please remove the following code:
- Code: Select all
if($this->API->get("css_override", '0')) {
echo '<link rel="stylesheet" href="'.($this->API->URLtemplate()).'/css/override.css" />' . "\n";
}