Web Analytics

Fill the form & Get Installation Support

Magento 2: How to add new body class on all pages in your theme?

If your want to add body class in all page in your theme then follow below code.

Create default.xml file in app/design/frontend/Vendername/Themename/Magento_Theme/layout folder and paste below code

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Developer

    Hire T. Baldha

    Get a Free Quote

      /* second popup */

      Connect With Us