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 instance in the same page
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: 2 instance in the same page
#35128
Re:2 instance in the same page 11 Years, 11 Months ago Karma: 760
It is not clear for what you need module ID?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#35130
Re:2 instance in the same page 11 Years, 11 Months ago Karma: 0
Alright let me try again. Here is the image of my home page.



my website is multilingual, has 3 language.
as you see in the image I have 2 modules. 1 in position-7 and 1 in position-14
When I try to edit the module in position-14 by using CSS Parameters, for instance, changing the colour, changing width to make it fit into the footer, changing text colour etc. the same settings are applied to the position-7 too, I'm ok with the one in position-7, I just want to customise position-14. So I try the css parameters for Position-14 and I use the predefined variable as you said "You can use #{$id} predefined variable in "CSS Styles" parameter. It will be replaced with ID of menu root element." in this post www.ari-soft.com/ARI-Ext-Menu/29560-2-horx-menus-with-different-css-styling.html#29566

And my question is that if I want to customise the module in position-14, should I use the ID 125 for the predefined variable as #{$125} .ux-menu ..... .......? if it is, I'm unable to customize, despite I'm using 125 for the ID, both of the instances are affected. So I'm guessing that the ID you are talking about is not the ID which is in the image of my previous post.

I used this:

#{$125} .ux-menu-container .ux-menu
{width:160 px;
background: transparent none;
}

when I tried this, the result is that: both of the menus are affected as you see in this image

img23.imageshack.us/img23/6678/theeffects.jpg
Last Edit: 2012/12/22 09:57 By theunnamed.
The administrator has disabled public write access.
 
#35134
Re:2 instance in the same page 11 Years, 11 Months ago Karma: 760
The following code doesn't make sense:

#{$125} .ux-menu-container .ux-menu
{width:160 px;
background: transparent none;
}

If you want to use ID of menu element in a CSS rule, use the following code in "CSS Styles" parameter in module settings:

#{$id}
{
width: 160px;
background: transparent none;
}

When {$id} is used in "CSS Styles" parameter it will be replaced with ID of menu element on frontend.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#35139
Re:2 instance in the same page 11 Years, 11 Months ago Karma: 0
Thank you for your reply, I sorted out with your help, really appreciated.
The administrator has disabled public write access.
 
Go to topPage: 12