Skip to content

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

License

Notifications You must be signed in to change notification settings

markshust/magento2-module-extrabodyclasses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkShust_ExtraBodyClasses

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

Supported Magento Versions Latest Stable Version Composer Downloads Maintained - Yes

Table of contents

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

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages