Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "DesignNow" Joomla template

Topic-icon Highlighting current menu item

More
6 years 1 week ago #7245 by JTGlenn1
JTGlenn1 created the topic: Highlighting current menu item
I have sub-menus on my site, however, when I'm on one of the pages that is listed under another menu item, all the other pages including the parent are highlighted as the current menu item.

My development site is: bcstest1.org/index.php/facultystaff/faculty

Please Log in to join the conversation.

More
6 years 1 week ago #7258 by ivan.milic
ivan.milic replied the topic: Re: Highlighting current menu item
Hi,

Current item has the css clases: .active and .current , his root parent has classes .active and .parent .Using this classes you can achieve desired functionality.

This is current css rule:

template_css.php

.column_right li.active a, .column_left li.active a:link, .column_left li.active a:visited {
color: #13752A !important;
}

Please Log in to join the conversation.

More
6 years 1 week ago #7261 by JTGlenn1
JTGlenn1 replied the topic: Re: Highlighting current menu item
I found the line in the template_css.css file, I have tried several different things but I can't figure out what to change. Can you provide the more info?
Thanks!

Please Log in to join the conversation.

More
6 years 1 week ago #7269 by ivan.milic
ivan.milic replied the topic: Re: Highlighting current menu item
You can just comment that with /* ... */ then add

.current
{
color: #13752A !important;
}

Please Log in to join the conversation.

More
6 years 1 week ago #7271 by JTGlenn1
JTGlenn1 replied the topic: Re: Highlighting current menu item
Well, that didn't work. :(
It is no longer changing any menu text colors. The icons are working, just not the text.

Here's what the code looks like.
/*
.column_right li.active a, .column_left li.active a:link, .column_left li.active a:visited {
color:<?php echo $mainMenuTextActive; ?> !important;
}
*/

.current
{
color:<?php echo $mainMenuTextActive; ?> !important;
}

Please Log in to join the conversation.

More
6 years 1 week ago #7272 by ivan.milic
ivan.milic replied the topic: Re: Highlighting current menu item
Hi, jus add a like this:

.current a
{
color:<?php echo $mainMenuTextActive; ?> !important;
}
The following user(s) said Thank You: JTGlenn1

Please Log in to join the conversation.

Time to create page: 0.141 seconds

Links, Partners and Social Media