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?

basic colour codes
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: basic colour codes
#13372
Re:basic colour codes 13 Years, 7 Months ago Karma: 0
thanks, but i'm still at a loss..

i understand the "hover rule", this works fine

the "current" rule seems to apply to the colour of the active tab only when i hover over it though. All the other tabs would be the "hover" colour but the active tab will turn to the "current" colour when i hover over it

what i want is to change the colour of the active tab when it is not in a hover state

this is not working with any of the rules in this thread

??

the website i'm building is at www.bem-management.co.uk/caduga/joomla

here is my current code for a demo

Code:



.ux-menu
{
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.ux-menu LI A
{
 background: #F3EEE2 none;
}

.ux-menu LI A:hover,
.ux-menu LI A:focus,
.ux-menu LI A.ux-menu-link-hover
{
 background: #E3D5B7 none;
}

UL.ux-menu LI A.current
{
 background-color: green;
}





you'll notice the active tab is a light pink color.. this is the rule i'd like to change

thanks again for the help
The administrator has disabled public write access.
 
#13375
Re:basic colour codes 13 Years, 7 Months ago Karma: 760
Use the next CSS rule:

Code:


UL.ux-menu LI.ux-menu-item-main A.current
{
 background: red none;
}



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