Module Store Code Body Class
samgranger/module-store-code-body-class
Adds the store and website code as classes to the `<body>` tag. This allows for easier, store-specific CSS styling.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubMagento 2 Store Code Body Class Plugin
As the name suggests, this plugin simply adds the store & website code to the body class.
Install
composer require samgranger/module-store-code-body-class
php bin/magento setup:upgrade
You might have to clear Magento's cache after installation to see the changes depending on your situation.
License
This module has been released under the MIT license.
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.