Search for: Search Center align nav bar stretches child menu items Viewing 5 posts - 1 through 5 (of 5 total) November 6, 2013 at 10:42 pm November 6, 2013 #16971 jussufbenjussufParticipant Hi together, in order to center-align my footer menu, I added .nav ul { margin: auto; width: 745px; float: none; padding-top: 1em; } to my style.css. It worked perfectly. However, the child (and sub-child) menu items are stretched now. Please see this picture for clarification. How can I get the child menu items back to their normal length whilst keeping the main menu center aligned? Thank you very much for any help on the issue. Josef November 9, 2013 at 2:43 pm November 9, 2013 #16982 jussufbenjussufParticipant Nobody? November 14, 2013 at 9:13 pm November 14, 2013 #17023 Daniel TaraKeymaster Try replacing the .nav ul selector with .nav > ul November 14, 2013 at 9:30 pm November 14, 2013 #17031 jussufbenjussufParticipant Daniel, you are my hero! That did the job! Thank you! November 20, 2013 at 11:17 am November 20, 2013 #17092 DionParticipant I tried it but it didn’t work. Can you telle me what I do wrong. My site is: http://www.diondebakker.nl If you can tell me how I can align the second line to the right I will be very pleased. With compliments, Dion de Bakker Viewing 5 posts - 1 through 5 (of 5 total) Tagged: minimatica menu center align You must be logged in to reply to this topic.