Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: chrisi1002 commentedno statements?
Comment #3
rudydude CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: chrisi1002 commentedthanks, works fine for me.
Comment #6
tumbledown100 CreditAttribution: tumbledown100 commentedWorks brilliantly - thanks
Comment #7
andrewsuth CreditAttribution: andrewsuth commentedThis is actually a Drupal 7 core issue, see: http://drupal.org/node/609542
Comment #8
agerson CreditAttribution: agerson commentedI also needed to add this for the text color
Comment #9
TechDust CreditAttribution: 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 CreditAttribution: hynnot commentedGreat TechDust!
Comment #11
shenzhuxi CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Clint Eagar commentedI used this and it works just fine for Corolla on D7