The Home-Link in the primary-menu is not highlighted in the front-page. Same for the Contact-Link in the Contact-Page.

Comments

tumbledown100’s picture

The 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.

chrisi1002’s picture

no statements?

rudydude’s picture

is 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!

stevecowie’s picture

A 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.

chrisi1002’s picture

thanks, works fine for me.

tumbledown100’s picture

Works brilliantly - thanks

andrewsuth’s picture

This is actually a Drupal 7 core issue, see: http://drupal.org/node/609542

agerson’s picture

I also needed to add this for the text color

#header-menu .content > ul > li.active-trail > a,
#header-menu .content > ul > li > a.active {
  color: #1a272e;
  background: none;
  font-weight: 700;
}
TechDust’s picture

Thanks 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);

#header-menu .content > ul > li.active-trail > a,
#header-menu .content > ul > li > a.active {
  color: #1a272e;
  background-color: #f8f8f8;
  font-weight: 700;
}
hynnot’s picture

Great TechDust!

shenzhuxi’s picture

Component: Other » Code

Not only home but also my account /user doesn't have active-trail.
Maybe because http://drupal.org/node/1292590

Jeff Burnz’s picture

Hmmm, 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.

TelFiRE’s picture

What #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

Clint Eagar’s picture

I used this and it works just fine for Corolla on D7

#menu-bar ul > li > a.active {
	background-color: #2e2e2e;
}