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?

Horizontal Centering within a module position
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Horizontal Centering within a module position
#28140
Horizontal Centering within a module position 12 Years, 1 Month ago Karma: 0
Hey ARI guys,

I just installed my first ARI module, the ARI Menu extension. I'm trying to figure out how to center the menu within the module position, as it is currently left-aligning: wingsofrefugehaiti.com/

We use a custom template, and I'm not sure where I can edit this. Is it a matter of adding a class suffix?

Help would be much appreciated.

Thanks.

- Tim
The administrator has disabled public write access.
 
#28146
Re:Horizontal Centering within a module position 12 Years, 1 Month ago Karma: 748
Hello,

Add the next CSS rule to "CSS Styles" parameter in module settings:

Code:


.ux-menu-container
{
 text-align: center;
}

.ux-menu-container .ux-menu-horizontal
{
 display: inline-block;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#28177
Re:Horizontal Centering within a module position 12 Years, 1 Month ago Karma: 0
Perfect. Thank you!

p.s. You're getting 5 stars on the Joomla extensions directory.
The administrator has disabled public write access.
 
#28178
Re:Horizontal Centering within a module position 12 Years, 1 Month ago Karma: 748
You are welcome. Thank you for the review.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#29702
Re:Horizontal Centering within a module position 11 Years, 12 Months ago Karma: 0
Tried adding the code above and still don't get the menu to center. I've added other css styling found on this site and it has made changes, but I'm not getting it to center.

Is it because I have it in position-1?

the site is abfischer.com/jupgrade

Thanks so much. Highly recommended this in the joomla extensions because of all the great support in the forums by the admin. Great work!
Last Edit: 2012/07/09 05:04 By moby74.
The administrator has disabled public write access.
 
#29704
Re:Horizontal Centering within a module position 11 Years, 12 Months ago Karma: 748
Add the next CSS rules:

Code:


#header .ux-menu-container
{
 text-align: center;
}

#header .ux-menu-container .ux-menu-horizontal
{
 display: inline-block;
 width: auto;
}



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