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?

CSS recognition.
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: CSS recognition.
#28638
CSS recognition. 12 Years, 6 Months 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, 6 Months ago Karma: 760
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, 6 Months ago Karma: 0
Perfect thank you!
The administrator has disabled public write access.
 
Go to topPage: 1