It would be nice to be able to set a hover color for the main menu background or links.
Can you suggest how I might do this in the css files. I've tried but it doesn't seem to take effect. (no caching etc.)

Comments

claynm’s picture

I am no wizard at this stuff - i use Drupal because it makes me look way better than i am - so have a barrel of salt on hand for this:
I got the hover color on links by using the !important rule in styles.custom.css.

/* Links */
a:link,
a:visited,
a:active,
a.active,
li a.active {
  color: #2079d2;
}
a:hover,
a:focus {
  color: #E5D697 !important;
}
Jeff Burnz’s picture

You'll need something like this:

.nav ul li a:hover,
.nav ul li a:focus,
.nav ul li a:active {
  color: #E5D697;
}

I'll have a think about it with regards to adding a theme color setting to set the hover background, seems to make sense to have it.

Update: ops, I said theme setting, should be color setting... lol.

j9’s picture

Version: 7.x-2.0-beta2 » 7.x-2.x-dev

Great feature request. Subscribing. Thanks! :0)

Neil Adair’s picture

This worked well, thanks Jeff. I really like this theme and Adaptive themes as an increasing portion of web traffic is from smart phones and tablets. I've built D6 sites with mobile tools etc. but this is a better approach.

Jeff Burnz’s picture

Thanks NeilAdair, your appreciation and feedback made my day, so nice when someone says a simple thanks, it gives me encouragement, so cheers.

Jeff Burnz’s picture

Status: Active » Fixed

I am adding this to the next release, it will be committed to DEV today, probably a new release coming later today also.

There are two new color settings - one for the hover background and one for the hover link color.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.