- Posts: 5
 - Thank you received: 0
 
Menu
- 
        Arnfie
Inactive member - 
            
				
                            Topic Author
                                 - New Member
 - 
            
         
        Less
        More
        
            
    
        - 
        ivan.milic
Support Staff - 
            
				
                                 - Moderator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 14116
 - Thank you received: 1639
 
            
        
                11 years 3 months ago                #40583
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Menu            
    
        In css/template_css.php
find this:
.mnu_<?php echo $menu_name;?> > li.active {
background:<?php echo $menu; ?>;
}
change to:
.mnu_<?php echo $menu_name;?> > li.current {
background:<?php echo $menu; ?>;
}
find this:
.mnu_<?php echo $menu_name;?> > li.active {
background:<?php echo $menu; ?>;
}
change to:
.mnu_<?php echo $menu_name;?> > li.current {
background:<?php echo $menu; ?>;
}
Please Log in to join the conversation.
- 
        Arnfie
Inactive member - 
            
				
                            Topic Author
                                 - New Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 5
 - Thank you received: 0
 
- 
        ivan.milic
Support Staff - 
            
				
                                 - Moderator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 14116
 - Thank you received: 1639
 
            
        
                11 years 3 months ago                #40606
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Menu            
    
        One question, did you maybe customized files here:
templates\hot_corporate\html\mod_menu\*
?
templates\hot_corporate\html\mod_menu\*
?
Please Log in to join the conversation.
- 
        Arnfie
Inactive member - 
            
				
                            Topic Author
                                 - New Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 5
 - Thank you received: 0
 
- 
        ivan.milic
Support Staff - 
            
				
                                 - Moderator
 - 
            
         
        Less
        More
        
            
    
        - Posts: 14116
 - Thank you received: 1639
 
            
        
                11 years 3 months ago                #40644
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Menu            
    
        Try this open:
templates\hot_corporate\html\mod_menu\default.php
replace (line ~45):
if ( $item->type == 'alias' &&
in_array($item->params->get('aliasoptions'),$path)
|| in_array($item->id, $path)) {
$class .= ' active';
}
with:
if (in_array($item->id, $path))
{
$class .= ' active';
}
templates\hot_corporate\html\mod_menu\default.php
replace (line ~45):
if ( $item->type == 'alias' &&
in_array($item->params->get('aliasoptions'),$path)
|| in_array($item->id, $path)) {
$class .= ' active';
}
with:
if (in_array($item->id, $path))
{
$class .= ' active';
}
Please Log in to join the conversation.
        Time to create page: 0.355 seconds