- Posts: 13
- Thank you received: 0
Main menu - sub-options formatting
-
stan@lenkiewicz.eu
Inactive member - Topic Author
- New Member
Less
More
13 years 1 week ago - 13 years 1 week ago #13117
by stan@lenkiewicz.eu
Main menu - sub-options formatting was created 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
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
Last edit: 13 years 1 week ago by stan@lenkiewicz.eu.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 week ago #13130
by ivan.milic
Replied by ivan.milic on topic Re: Main menu - sub-options formatting
Open css/template_css.php and find this:
change it to 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.
-
stan@lenkiewicz.eu
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
13 years 1 week ago #13146
by stan@lenkiewicz.eu
Replied by stan@lenkiewicz.eu on topic Re: Main menu - sub-options formatting
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 week ago #13152
by ivan.milic
Replied by ivan.milic on topic Re: Main menu - sub-options formatting
try this:
.column_right #current a, .column_left #current a:link, .column_left #current a:visited {
color:<?php echo $mainMenuTextActive; ?> !important;
}
.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.
-
stan@lenkiewicz.eu
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
13 years 1 week ago #13156
by stan@lenkiewicz.eu
Replied by stan@lenkiewicz.eu on topic Re: Main menu - sub-options formatting
Still the same: none of the options marked as active.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
13 years 1 week ago #13259
by milos
Replied by milos on topic Re: Main menu - sub-options formatting
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.095 seconds