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?

2 horx menus with different css styling
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: 2 horx menus with different css styling
#29560
2 horx menus with different css styling 12 Years, 4 Months ago Karma: 0
Hi,
I've looked through the forum but I still can't work this out.
On the same page I need 2 horz menu but with different styling such as colour, otherwise they are the same. Can't quite work it out, could somene please help me here, thanks.
The administrator has disabled public write access.
 
#29561
Re:2 horx menus with different css styling 12 Years, 4 Months ago Karma: 760
Hello,

You can create as many module instances as you want. You can read about it here. Each module instance has different settings, color, background and others can be configured in module settings.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#29563
Re:2 horx menus with different css styling 12 Years, 4 Months ago Karma: 0
Thanks for the reply.
Do I just enter the CSS code that is different in the box provided, do I need to use the module suffix ?
Cheers
The administrator has disabled public write access.
 
#29564
Re:2 horx menus with different css styling 12 Years, 4 Months ago Karma: 760
What CSS code do you want to use?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#29565
Re:2 horx menus with different css styling 12 Years, 4 Months ago Karma: 0
Both menus are essentially the same but on the second menu the vertical image between menu tabs is a different colour, so it needs to have it's own image, see code;
.ux-menu a{
display:block;
position:relative;
text-decoration:none;
color:#FFF;
background-image: url(../../../../../templates/atomic/images/nav-vert-border.png);
background-repeat: no-repeat;
background-position: right center;
font-size:12px;
line-height:12px;
padding:10px 14px;


}
The administrator has disabled public write access.
 
#29566
Re:2 horx menus with different css styling 12 Years, 4 Months ago Karma: 760
You can use #{$id} predefined variable in "CSS Styles" parameter. It will be replaced with ID of menu root element. In your case you can use the next code in "CSS Styles" parameter:

#{$id}_container .ux-menu a{
display:block;
position:relative;
text-decoration:none;
color:#FFF;
background-image: url(../../../../../templates/atomic/images/nav-vert-border.png);
background-repeat: no-repeat;
background-position: right center;
font-size:12px;
line-height:12px;
padding:10px 14px;
}

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