1. ncarota
  2. Commercial Templates
  3. Wednesday, 29 October 2014
  4.  Subscribe via email
Hi Ciaran,

Looking to change text color and add drop shadow on mouse hover in the hornav menu for Journal. I'd also like to have the current menu selection stay a different color as well. Any ideas?

http://www.hdlogging.com/home

Thanks Nick,
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Nick

Try adding the following to the Custom CSS field of your templates parameters editing to your own taste...


#hornav > ul > li > a:hover {
color: #768ca3;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
#hornav > ul > li > a:active {
color: #8996a9;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran,

The Hover works great, but no luck on the active menu item change. I tried to put a "text-decoration:underline" in the code block to see if it was working, and it does briefly after clicking the menu item, but then disappears on load.

Cheers,
Nick
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hey Nick

Sorry about.. a slight correction to be made with the second part of the CSS...

Replace...


#hornav > ul > li > a:active {
color: #8996a9;
}


With...


#hornav > ul > li.active > a {
text-decoration: underline;
}


Hopefully that should do the trick :)

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Nice! that did the trick.

Thanks,
Nick
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!