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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Image for individual menu items
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Image for individual menu items
#24360
Image for individual menu items 12 Years, 5 Months ago Karma: 0
Hi I wonder if you can help me please. I have used images for each individual menu item and a roll-over image for each as follows:

Code:

ul.ux-menu li.ux-menu-item101>a, a:focus, a:active {
background-image:url('images/home.gif');
height: 212px; width: 124px;
}
ul.ux-menu li.ux-menu-item101>a:hover{
background-image:url('images/home_roll.gif');
height: 212px; width: 124px;



However, I can't work out how to display the roll-over image as a static image when the page is active i.e. home page rollover is a blue image, I want it to stay on this blue image when the user is viewing that page. I know that this bit of css code relates to it:

Code:

.ux-menu a.current


But I don't know how to assign individual menu items. I've tried various combinations of code, but I've got to the point where I have to ask for help.
Last Edit: 2012/02/02 09:59 By gennie.
The administrator has disabled public write access.
 
#24361
Re:Image for individual menu items 12 Years, 5 Months ago Karma: 748
Hello,

Try the next CSS rule:

Code:


ul.ux-menu li.ux-menu-item101>a.current:hover {
 background-image:url('images/home_roll.gif');
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#24363
Re:Image for individual menu items 12 Years, 5 Months ago Karma: 0
Thanks, I tweaked it a little and it worked perfect!

Code:

ul.ux-menu li.ux-menu-item101>a.current {
background-image:url('images/home_roll.gif');}



Thank you for your quick response.
The administrator has disabled public write access.
 
Go to topPage: 1