PHPackages                             markshust/magento2-module-extrabodyclasses - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. markshust/magento2-module-extrabodyclasses

ActiveMagento2-module

markshust/magento2-module-extrabodyclasses
==========================================

The Extra Body Classes module adds the website and store codes to the body class attribute.

1.0.3(4y ago)331.8k5MITPHPPHP ^7.1

Since Nov 13Pushed 4y ago2 watchersCompare

[ Source](https://github.com/markshust/magento2-module-extrabodyclasses)[ Packagist](https://packagist.org/packages/markshust/magento2-module-extrabodyclasses)[ GitHub Sponsors](https://github.com/markshust)[ RSS](/packages/markshust-magento2-module-extrabodyclasses/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

MarkShust\_ExtraBodyClasses
===========================

[](#markshust_extrabodyclasses)

The Extra Body Classes module adds the website and store codes to the body class attribute.

 [![Supported Magento Versions](https://camo.githubusercontent.com/e907512df72e31a563efe6e894d1ed3dfc545b59c33aa2f5d346eae78b34d7a1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d5e322e332d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e907512df72e31a563efe6e894d1ed3dfc545b59c33aa2f5d346eae78b34d7a1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d5e322e332d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265) [![Latest Stable Version](https://camo.githubusercontent.com/7949f63a19f42bf6e5b02eeb2dea13efceb492d6a9884f63006e60d3eaca22d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61726b73687573742f6d6167656e746f322d6d6f64756c652d6578747261626f6479636c61737365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/markshust/magento2-module-extrabodyclasses) [![Composer Downloads](https://camo.githubusercontent.com/e116d6143bec82ea518a0c3a6a831e06e205d2b132bd5e1c30e83c3cb89c2182/68747470733a2f2f706f7365722e707567782e6f72672f6d61726b73687573742f6d6167656e746f322d6d6f64756c652d6578747261626f6479636c61737365732f646f776e6c6f616473)](https://packagist.org/packages/markshust/magento2-module-extrabodyclasses) [![Maintained - Yes](https://camo.githubusercontent.com/04aba48520e6322ebc6c41b7995626a88ce408bd46ec4eb15ae474936b345276/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d7965732d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) [![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

Table of contents
-----------------

[](#table-of-contents)

- [Summary](#summary)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

Summary
-------

[](#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
------------

[](#installation)

```
composer require markshust/magento2-module-extrabodyclasses
bin/magento module:enable MarkShust_ExtraBodyClasses
bin/magento setup:upgrade

```

Usage
-----

[](#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
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~212 days

Total

4

Last Release

1738d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1ee75bbeb9e6e4e83769c56197973d49f1dec7e509da22f7eb42c16fddf1012?d=identicon)[markshust](/maintainers/markshust)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (8 commits)")[![navarr](https://avatars.githubusercontent.com/u/145128?v=4)](https://github.com/navarr "navarr (1 commits)")

### Embed Badge

![Health badge](/badges/markshust-magento2-module-extrabodyclasses/health.svg)

```
[![Health](https://phpackages.com/badges/markshust-magento2-module-extrabodyclasses/health.svg)](https://phpackages.com/packages/markshust-magento2-module-extrabodyclasses)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3138.1k](/packages/fredden-magento2-module-javascript-error-reporting)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
