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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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?

CSS help - background on hover
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: CSS help - background on hover
#12638
CSS help - background on hover 13 Years, 8 Months ago Karma: 0
Hi, could someone please check this site: masobrejcha.vasik.net and help me to:

1) make the clickable area to the whole li - I mean when I hover over the link, change background of the whole li
2) don't change the background color of the link to white when moving to subitems

Thanks
The administrator has disabled public write access.
 
#12645
Re:CSS help - background on hover 13 Years, 8 Months ago Karma: 760
Hello,

1. Add the following CSS rules:

Code:


.ux-menu LI.ux-menu-item-main
{
  padding: 0;
  height: 70px
}

.ux-menu LI.ux-menu-item-main A
{
  height: 30px;
  padding-top: 30px;
}

.ux-menu UL.ux-menu-sub LI A
{
  padding-top: 10px;
  height: inherit;
}



2. Add the next CSS rule:

Code:


.ux-menu LI A.ux-menu-link-hover
{
  background: #222222 none;
}



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