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?

CSS recognition.
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: CSS recognition.
#28638
CSS recognition. 12 Years, 1 Month ago Karma: 0
I am at day one with the menu and so far am very pleased I was put onto it! Tiny problem, certainly not urgent. I can't get any CSS that I add to work. I would like my horizontal menu to be centered on the page so did a search of the forum and found these two pieces of code recommended to center the menu. Did try some other code that i found on the forum just to test but i seem to have missed a setting that allows the added CSS to work! Here's the centering code that i tried! I thought t might need setting inside the style tags but when i included these they were deleted on saving!

#header .ux-menu-container .ux-menu
{
display: inline-block;
}
#header .ux-menu-container
{
text-align: center;
}
I have also selected the text aligned options assuming this to align the text within the "box" of the menu but whatever I choose. left, right or center makes no difference . The text is always centred which is fine at the moment but I may need to change that later! Yet the text weight option works fine!
Can't give URL at the moment as this is on my localhost till I get it right. I could at a pinch put the site up on a test site if this was necessary.
Thanks!
The administrator has disabled public write access.
 
#28640
Re:CSS recognition. 12 Years, 1 Month ago Karma: 748
Hello,

Try to use the next CSS rule:

Code:


DIV.ux-menu-container UL.ux-menu
{
  display: inline-block !important;
}

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



Regards,
ARI Soft
The administrator has disabled public write access.
 
#28641
Re:CSS recognition. 12 Years, 1 Month ago Karma: 0
Perfect thank you!
The administrator has disabled public write access.
 
Go to topPage: 1