diff --git a/modules/backend/models/BrandSetting.php b/modules/backend/models/BrandSetting.php index 10821fd0e..bdd20bd22 100644 --- a/modules/backend/models/BrandSetting.php +++ b/modules/backend/models/BrandSetting.php @@ -80,6 +80,12 @@ class BrandSetting extends Model $this->secondary_color = $config->get('brand.secondaryColor', self::SECONDARY_COLOR); $this->accent_color = $config->get('brand.accentColor', self::ACCENT_COLOR); $this->menu_mode = $config->get('brand.menuMode', self::INLINE_MENU); + + // Attempt to load custom CSS + $brandCssPath = File::symbolizePath(Config::get('brand.customLessPath')); + if ($brandCssPath && File::exists($brandCssPath)) { + $this->custom_css = File::get($brandCssPath); + } } public function afterSave()