Active
Project:
Corolla
Version:
7.x-1.20
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2011 at 10:47 UTC
Updated:
11 Jul 2012 at 22:33 UTC
The Home-Link in the primary-menu is not highlighted in the front-page. Same for the Contact-Link in the Contact-Page.
Comments
Comment #1
tumbledown100 commentedThe active-trail class seems to appear pretty randomly. As in the demo site, there are no white tabs on the active menu items in most cases. But if you create new article pages and add them to the menu, they have whie tabs when active.
Comment #2
chrisi1002 commentedno statements?
Comment #3
rudydude commentedis there a quick fix for this? I have a site that is going up in a couple of days and would love to have this issue ironed out.
cheers!
Comment #4
stevecowie commentedA quick fix is to change the active-trail on the li to a active - something like this:
#header-menu .content > ul > li > a.active {
background-color: #f8f8f8;
color: #000000;
}
The logic is that the active-trail class is not being applied consistently and may not be to do with corolla theme anyway, whereas a.active does get applied consistently.
Comment #5
chrisi1002 commentedthanks, works fine for me.
Comment #6
tumbledown100 commentedWorks brilliantly - thanks
Comment #7
andrewsuth commentedThis is actually a Drupal 7 core issue, see: http://drupal.org/node/609542
Comment #8
agerson commentedI also needed to add this for the text color
Comment #9
TechDust commentedThanks agerson.
I made this change @line 7 of "colors.css" file, and it seems to work for me (I had to add the background-color);
Comment #10
hynnot commentedGreat TechDust!
Comment #11
shenzhuxi commentedNot only home but also my account /user doesn't have active-trail.
Maybe because http://drupal.org/node/1292590
Comment #12
Jeff Burnz commentedHmmm, thats a real interesting bug with the user active trail, not sure how to workaround that in a theme in a clean and consistant fashion, not really liking any of those fixes, probably needs to be fixed in core, however as per #8/#9 its the overuse or misuse of child selectors that is the culprit for the most part of this issue.
Comment #13
TelFiRE commentedWhat #7 linked is for D6, not 7. Here is a D7 issue and it was never resolved despite being closed: http://drupal.org/node/942782
Comment #14
Clint Eagar commentedI used this and it works just fine for Corolla on D7