Dear pikiame,
Please go to your_site\plugins\system\yt\includes\libs\menu\params\params.xml and find:
<field name="ytext_cssid" type="text" size="30" default="" label="Mega Content ID" description="Mega Content ID" />
=>
<field name="ytext_cssid" type="text" size="30" default="" label="Mega Content ID" description="Mega Content ID" />
<field name="ytmenu_class" type="text" size="30" default="" label="Mega Menu Class" description="Mega Menu Class" />
Then go to your_site\templates\sj_worldnews\menusys\ytmenu.php and find:
public function getClass(){
$liClass = '';
if ($this->get('active')==1 && !in_array('active', $this->_classes)){
array_unshift($this->_classes, 'active');
}
if(count($this->_classes)>0){
$liClass = implode(' ', $this->_classes);
}
return $liClass;
}
=>
public function getClass(){
$liClass = '';
$mega_menu_class = $this->params->get('ytmenu_class');
if ($this->get('active')==1 && !in_array('active', $this->_classes)){
array_unshift($this->_classes, 'active');
}
if(count($this->_classes)>0){
$liClass = implode(' ', $this->_classes);
$liClass = $liClass.' '.$mega_menu_class;
}
return $liClass;
}
You can add class in Menu Manager-> Your menu item -> YT Menu Params for this Menu Item -> Mega Menu Class
Thanks