Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markshust/magento2-module-extrabodyclasses
The Extra Body Classes module adds the website and store codes to the body class attribute.
https://github.com/markshust/magento2-module-extrabodyclasses
Last synced: 2 days ago
JSON representation
The Extra Body Classes module adds the website and store codes to the body class attribute.
- Host: GitHub
- URL: https://github.com/markshust/magento2-module-extrabodyclasses
- Owner: markshust
- License: mit
- Created: 2019-11-13T14:21:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T19:36:04.000Z (about 3 years ago)
- Last Synced: 2024-05-02T00:45:39.694Z (6 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 31
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
MarkShust_ExtraBodyClasses
## Table of contents
- [Summary](#summary)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)## Summary
Sometimes you wish to create styling for a specific website or store, and have it not be dependent upon the current theme. This module adds the website and store codes of Magento to the body class attribute, allowing you to target your CSS to a specific website or store.
## Installation
```
composer require markshust/magento2-module-extrabodyclasses
bin/magento module:enable MarkShust_ExtraBodyClasses
bin/magento setup:upgrade
```## Usage
This module has no configuration. Just install and flush the cache, and you should see the new classes added to the body HTML attribute.
## License
[MIT](https://opensource.org/licenses/MIT)