× Discussion about "Wellness" Joomla template.

Main menu - sub-options formatting

More
7 years 8 months ago - 7 years 8 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: 7 years 8 months ago by stan@lenkiewicz.eu.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #13130 by ivan.milic
Open css/template_css.php and find this:
.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:

.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 or Create an account to join the conversation.

More
7 years 8 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 or Create an account to join the conversation.

More
7 years 8 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 or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #13259 by milos
Should be like this in template_css.php:
.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 or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.129 seconds