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?

'Centre'ing the menu
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: 'Centre'ing the menu
#11657
'Centre'ing the menu 13 Years, 9 Months ago Karma: 0
Hello,
Great mod. It's been fab for my site.
I have a question on CSS I hope someone can please answer:

From old posts in the forum I found the following code to centre the menu on my pages:


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

BODY DIV.ux-menu-container UL.ux-menu-horizontal
{
display: -moz-inline-stack;
display: inline-block;
zoom:1;
*display: inline;
}


This certainly worked and centred the menu, however, it has a really annoying thing happening where the page is loaded the menu ALWAYS starts off on the left momentarily and then shifts to the centre. Can anyone help with a code solution that will make the menu immediately appear centred as soon as the page is loaded.

Many thanks....

J
The administrator has disabled public write access.
 
#11658
Re:'Centre'ing the menu 13 Years, 9 Months ago Karma: 760
Hello,

Provide link to page please where we can see this issue.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#11687
Re:'Centre'ing the menu 13 Years, 9 Months ago Karma: 0
Hi,
the link is
www. mummydarling.co.uk/site/index.php?option=com_datafeeds&view=items&Itemid=128

Could you also tell me how to remove the bullets on your menu module too please?

Many thanks,

J
The administrator has disabled public write access.
 
#11690
Re:'Centre'ing the menu 13 Years, 9 Months ago Karma: 760
Hello,

Use the following CSS rule:

Code:


ul.ux-menu li 
{
 background-image: none;
 padding-left: 0;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#11692
Re:'Centre'ing the menu 13 Years, 9 Months ago Karma: 0
Hi
Thank you very much for this. So this removes the bullets.

how about my original question about the menu centre'ing?

Many thanks,

J
The administrator has disabled public write access.
 
#11693
Re:'Centre'ing the menu 13 Years, 9 Months ago Karma: 0
Thats strange - adding this new code now stops the menu from being centred. Could you tell me if this is the correct format of code please? I've cobbled together from previous posts on your forum.

Thanks,


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

BODY DIV.ux-menu-container UL.ux-menu-horizontal
{
display: -moz-inline-stack;
display: inline-block;
zoom:1;
*display: inline;
}

ul.ux-menu li
{
background-image: none;
padding-left: 0;
}
The administrator has disabled public write access.
 
Go to topPage: 123