Magento add new class accourding to your module and you

add class with php

if ($root = $this->getLayout()->getBlock('root')) {
    $root->addBodyClass('whatever');
}
 
and xml
 
<reference name="root">
    <action method="addBodyClass"><classname>whatever</classname></action>
</reference> 

stiki menu jquery simple

Magento 2 Singleton Design Pattern

  Magento 2 Singleton Design Pattern In the realm of Magento 2 development, mastering design patterns is paramount, and one of the cornersto...

Popular Posts

Posts