diff --git a/src/templates/component.php b/src/templates/component.php index b7614a9..d8f5efb 100644 --- a/src/templates/component.php +++ b/src/templates/component.php @@ -91,8 +91,8 @@ $wa->useStyle('template.vendor.social-media-demo'); // css/user.css $wa->useStyle('vendor.bootstrap-toc'); // Optional demo/showcase CSS (available for use, not loaded by default) -// To use: Add 'template.global.social-media-demo' to your article/module -// $wa->useStyle('template.global.social-media-demo'); +// To use: Create the CSS file and register it in joomla.asset.json, then add to your article/module +// Example: $wa->useStyle('template.social-media-demo'); // Color theme (light + optional dark) $colorLightKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_LightColorName)); diff --git a/src/templates/error.php b/src/templates/error.php index 3d2ad3b..18155cf 100644 --- a/src/templates/error.php +++ b/src/templates/error.php @@ -72,8 +72,7 @@ $templatePath = 'media/templates/site/mokocassiopeia'; // =========================== // Core template CSS -$wa->useStyle('template.global.base'); // css/template.css -$wa->useStyle('template.global.social-media-demo'); // css/global/social-media-demo.css +$wa->useStyle('template.base'); // css/template.css // Optional vendor CSS $wa->useStyle('vendor.bootstrap-toc');