Universal CSS Navigation Menu Support Product Page

Answered

Menu buttons are all left aligned. How do I get them to center

Asked 17 Sep 2013 14:53:01
1
has this question
17 Sep 2013 14:53:01 David Hampton posted:
Menu buttons are all left aligned. How do I get them to center within the background container? Note: I can center the button's background container...NOT the buttons within the container.

Replies

Replied 17 Sep 2013 15:45:58
17 Sep 2013 15:45:58 Teodor Kuduschiev replied:
Hello,

Please provide a link to your page, as it is not very clear what exactly do you need to achieve.
Replied 17 Sep 2013 17:16:59
17 Sep 2013 17:16:59 David Hampton replied:
Here is the link to the test page:
www.hamptonproductions.com/buttontest.htm
Here is a link to a screenshot of what I want:
www.hamptonproductions.com/assets/menu_screenshot.jpg
Thanks,
Replied 18 Sep 2013 09:15:03
18 Sep 2013 09:15:03 Teodor Kuduschiev replied:
It depends on the width of the UL element.
You can experiment adding a 10% margin-left to the ul element:


.dmxNavigationMenu.dark_black ul.menu { 

Replied 18 Sep 2013 22:25:51
18 Sep 2013 22:25:51 David Hampton replied:
Hi Teodor,
Thanks for the reply, I wasn't sure which CSS element to alter. Works perfectly now.
David

Reply to this topic