Menu

  • Arnfie
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #40573 by Arnfie
Menu was created by Arnfie
with which setting can I make the color remains on the active button in the menu.
it should look like in the demo.

Show: newpage.tc-brackel.de

Please Log in to join the conversation.

More
9 years 8 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; ?>;
}

Please Log in to join the conversation.

  • Arnfie
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #40595 by Arnfie
Replied by Arnfie on topic Menu
I changed the line in template_css.php. But the color is not fixed in the current menu button stand.

Please Log in to join the conversation.

More
9 years 8 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\*

?

Please Log in to join the conversation.

  • Arnfie
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 8 months ago #40642 by Arnfie
Replied by Arnfie on topic Menu
No, I have made ​​no changes to the Templates \ hot_corporate \ html \ mod_menu. :(

Please Log in to join the conversation.

More
9 years 8 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';
}

Please Log in to join the conversation.

Time to create page: 0.323 seconds
Powered by Kunena Forum