Coder Social home page Coder Social logo

magento2-module-extrabodyclasses's Introduction

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

magento2-module-extrabodyclasses's People

Contributors

markshust avatar navarr avatar

Stargazers

 avatar  avatar Piyush Dankhra avatar Ritchell John avatar Reniraj NR avatar Bernardino Sousa avatar Ross Peterson avatar Daniel Ilic avatar Max Uroda avatar Sascha Wohlgemuth avatar Ricardo Jacinto avatar dadolun avatar Alkrenawi zid avatar Carlos Augusto Gartner avatar Maikel Vugts avatar Shahzad Ahmed avatar Leandro avatar Jonatan Machado avatar Wajahat Bashir avatar Carlos Reynosa  avatar  avatar David Manners avatar leo avatar kenneth avatar Roman Sliusar avatar Ross avatar Guus avatar  avatar magepsycho avatar Scott Buchanan avatar  avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

magento2-module-extrabodyclasses's Issues

Error installing on Magento v2.4.2 using PHP 7.4

I can't install this extension on a PHP 7.4 and Magento v2.4.2 system.

I used composer require markshust/magento2-module-extrabodyclasses to add to composer.json and received the following error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for markshust/magento2-module-extrabodyclasses ^1.0 -> satisfiable by markshust/magento2-module-extrabodyclasses[1.0.0, 1.0.1, 1.0.2].
    - Can only install one of: magento/framework[103.0.2, 102.0.7].
    - Can only install one of: magento/framework[102.0.7, 103.0.2].
    - Can only install one of: magento/framework[102.0.7, 103.0.2].
    - Conclusion: install magento/framework 102.0.7
    - Installation request for magento/framework (locked at 103.0.2) -> satisfiable by magento/framework[103.0.2].


Installation failed, reverting ./composer.json to its original content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.