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?

3 colours according to state
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: 3 colours according to state
#27325
3 colours according to state 12 Years, 7 Months ago Karma: 0
Hi

I'm not expert wih CSS and il would like to have 3 different colours for each item

I try this in CSS Styles but doesn't work for active state.
Code:

.ux-menu LI.ux-menu-item464>A
 {
  color: #FFFFFF !important;
  background:#006600;
 }
 .ux-menu LI.ux-menu-item464>A:hover
 {
  color: black !important;
  background:#FFFFFF;
 }
.ux-menu LI.ux-menu-item464>A:active
 {
  color: black !important;
  background:#FFFFFF;
 }



Thx for your help

Yades
The administrator has disabled public write access.
 
#27326
Re:3 colours according to state 12 Years, 7 Months ago Karma: 760
Hello,

Sorry, but what problem do you have? Where we can see a menu?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#27355
Re:3 colours according to state 12 Years, 7 Months ago Karma: 0
sorry to answer late but i didn't receive alert

on my website www.maisondesloisirs-deve.fr/

the top menu is colored (normal state)
item is white when is hover
and i would like a third color when item is active

yades
The administrator has disabled public write access.
 
#27356
Re:3 colours according to state 12 Years, 7 Months ago Karma: 760
"active" contains the same color and background as "hover".

Regards,
ARI Soft
The administrator has disabled public write access.
 
#27357
Re:3 colours according to state 12 Years, 7 Months ago Karma: 0
yes in this case but when item is selected the color of item dont' stay white like the color when mouse rollover but item selected has the same color as the normal state. i don't know if im'clear.

for example item "Nous contacter" is red for normal state, when mouse is over this item it becomes white but when i click on this item i would like choose a color for this item eg :white and not red when article from this item is open.

Yades
The administrator has disabled public write access.
 
#27359
Re:3 colours according to state 12 Years, 7 Months ago Karma: 760
Try the next CSS rule:

Code:


.ux-menu LI.ux-menu-item464>A.current
{
  color: blue !important;
  background: yellow;
}



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