October 26, 2016 at 4:28 pm #10538
I’ve got my colors set up to turn from dark gray to bright white while “Active.”
(Here’s what it looks like while “Member List” is active.)
However, certain menus are not maintaining the bright white color while while “Active.”
(Here’s what it looks like while “Forums” is active.)
This is where I need help. I can’t figure out why certain menus are not staying bright white while “Active.”
The 2 trouble menus are “Forums,” and “Account.”
“Forums” is a menu that directs to a page called “Forums,” which is a page that contains shortcode for bbPress. There are other menus that direct to pages with shortcode, such as “Main Chat,” which stays active as it should. So, I’m not sure what the problem is with “Forums” not staying active.
“Account” is a menu that directs to the user’s BuddyPress profile. (It doesn’t stay bright white in the active state either.)
Thanks in advance for your thoughts on this issue.October 26, 2016 at 10:31 pm #46365Kenneth John OdleModerator
Generally, “active” refers to a link that you are actually clicking on. If you mean “the menu item for the page that I am currently on” then WordPres generally appends the
.currentclass to that link so it can be styled separately. (That is, “active” is a CSS thing; “current” is a WordPress thing.)
However, it appears that you are using some kind of menu plugin, so your best bet may be to peruse that plugin’s support forum to look for a solution, or to ask your question there if you can’t find one. And, as always, be sure to include a link to your site.
Also, I can’t actually access a page like the one above to examine code.October 26, 2016 at 10:56 pm #46366
Thanks for your reply.
The site can be seen here.
There’s a guest account:
I had a plugin called “Max Mega Menu” installed while you were at the site, but I’ve disabled it now, so you can see the behavior of the menus.
That plugin is on its way out the door, if I can get the “Active” state to work on those 2 troubled spots. (Forums & Account)
Thanks very much for your time.October 27, 2016 at 1:58 am #46367
I noticed that menus containing 2 words were displayed in the “Active” state, while menus containing only 1 word were the problem ones.
If I rename the “Forums” page to “All Forums” (and also the permalink to all-forums,) then it works, but when I change it back to just “Forums” it stops appearing in the “Active” state.
Does this reveal anything?
You must be logged in to reply to this topic.