Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Menu Item Change Color On Hover
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Menu Item Change Color On Hover
#6167
Menu Item Change Color On Hover 7 Years, 4 Months ago Karma: 0
Hello. This is a great mod. I spent 2 days pulling my hair out trying to tweak the extended menu bar and scoured the internet looking for answers. Thankfully I found the yui menu!

I was wondering if there is a way to change a menu items background color when you hover over it. I know there is a way to change the text color on hover but I can't seem to find a way to actually make the background color anything but the standard blue that comes set up with the mod.

Thanks!
The administrator has disabled public write access.
 
#6178
Re:Menu Item Change Color On Hover 7 Years, 4 Months ago Karma: 670
Hello,

Try to add the following CSS rule to 'CSS Styles' parameter in module settings:

Code:


#{$id} .yuimenubar .bd UL LI.yuimenubaritem-selected
{
  background: red none;
}



If this doesn't help, provide link to page, please, where we can see the menu on your site.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#6193
Re:Menu Item Change Color On Hover 7 Years, 4 Months ago Karma: 0
It worked like a charm! Thank you SO much! Just two more quick questions if you don't mind:

1. I left Remain active menu item checked so that visitors know what page they are on. How do I change the color of that button from the sky blue to another color?

2. How do I get rid of that extra padding on the right side of my menu bar? Currently I have this override in:

#ariyuimenu #{$id} .yuimenubarnav .yuimenubaritem
{
border-right-style: none;
}

#ariyuimenu #{$id}.yui-skin-sam ul li a.yuimenubaritemlabel
{
text-align: center;
padding: 0 14px;
width: auto;
}
The administrator has disabled public write access.
 
#6555
Re:Menu Item Change Color On Hover 7 Years, 3 Months ago Karma: 670
Information about menu styles can be found in this post.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1