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?

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, 10 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, 10 Months ago Karma: 760
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, 10 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