diff --git a/themes/default/Theme.php b/themes/default/Theme.php index f650e86bf6..032041dd11 100644 --- a/themes/default/Theme.php +++ b/themes/default/Theme.php @@ -845,11 +845,7 @@ public function setupThemeContext($forceload = false) $context['favicon'] = $scripturl . '/mobile.png'; - // Load a custom CSS file? - if (file_exists($settings['theme_dir'] . '/css/custom.css')) - { - loadCSSFile('custom.css'); - } + $this->loadSupportCSS(); // Since it's nice to have avatars all of the same size, and in some cases the size detection may fail, // let's add the css in any case @@ -886,7 +882,7 @@ public function loadSupportCSS() // Load a base theme custom CSS file? if (file_exists($settings['theme_dir'] . '/css/custom.css')) { - loadCSSFile('custom.css', array('fallback' => false)); + loadCSSFile('custom.css'); } }