Main menu - sub-options formatting

More
13 years 10 months ago - 13 years 10 months ago #13117 by stan@lenkiewicz.eu
Hello,

I have created an option with sub-option in main menu module. Regardless which one is active (a 'parent' or a 'child' one) both are marked as active (see the attachement). How to change that? I think some addition in css files would solve the problem, but so far none of my efforts was succefull..

Best rgards,
Stan
Attachments:
Last edit: 13 years 10 months ago by stan@lenkiewicz.eu.

Please Log in to join the conversation.

More
13 years 10 months ago #13130 by ivan.milic
Open css/template_css.php and find this:
Code:
.column_right li.active a, .column_left li.active a:link, .column_left li.active a:visited { color:<?php echo $mainMenuTextActive; ?> !important; }

change it to this:

Code:
.column_right li#current a, .column_left li#current a:link, .column_left li#current a:visited { color:<?php echo $mainMenuTextActive; ?> !important; }

Please Log in to join the conversation.

More
13 years 10 months ago #13146 by stan@lenkiewicz.eu
Thank you for the reply, but it does not work... Now none of the active options is marked.

Please Log in to join the conversation.

More
13 years 10 months ago #13152 by ivan.milic
try this:

.column_right #current a, .column_left #current a:link, .column_left #current a:visited {
color:<?php echo $mainMenuTextActive; ?> !important;
}

Please Log in to join the conversation.

More
13 years 10 months ago #13156 by stan@lenkiewicz.eu
Still the same: none of the options marked as active.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 10 months ago #13259 by milos
Should be like this in template_css.php:
Code:
.column_right li#current > a, .column_left li#current > a:link, .column_left li#current > a:visited { color:<?php echo $mainMenuTextActive; ?> !important; }

Please Log in to join the conversation.

Time to create page: 0.371 seconds
Powered by Kunena Forum