brettbennion 0 Report post Posted February 8, 2011 I have a website with only 4 items on my navigation. I've already centered my logo but how do I center the links in my navigation? Also my simple nav in the footer also has way too mach space, how do I shrink #footer .content-pad ? www.mlrky.com Thanks! Share this post Link to post Share on other sites
Kate 3 Report post Posted February 8, 2011 Hi Brett - There's a couple different ways to accomplish this, but with your current styles, the code below should do the trick: #primary-nav{float:none !important;text-align:center !important;} #nav_row{padding-bottom:10px;} #primary-nav li{float:none !important;display:inline;} #primary-nav li a{float:none !important;display:inline;margin-bottom:10px;} Just add that to your custom code (CSS). Share this post Link to post Share on other sites
brettbennion 0 Report post Posted February 8, 2011 didn't work Share this post Link to post Share on other sites
Kate 3 Report post Posted February 8, 2011 Hey Brett - I tried it myself before suggesting it. Where did you add it, please? EDIT: Try this instead: #nav_row ul{padding-bottom:10px !important;float:none !important;text-align:center;} #primary-nav li{float:none !important;display:inline !important;} #primary-nav a{float:none !important;display:inline !important;} Share this post Link to post Share on other sites
Kate 3 Report post Posted February 8, 2011 Hey Brett - Sorry, just saw the screenshot. I just updated my previous post with some new styles to try. Replace the current styles with those I listed. Again, I tried these, and they worked, so hopefully they work for you. (I may have forgotten a line or something the first time... sorry!) Share this post Link to post Share on other sites
brettbennion 0 Report post Posted February 8, 2011 Thank you! worked perfectly. Any idea how I can squish down my footer now? you really are the best!!! Share this post Link to post Share on other sites
Kate 3 Report post Posted February 8, 2011 No problem... Just took a look, and it seems the footer is 'squished down' now, is that correct? Let us know if you still need help with that part. Share this post Link to post Share on other sites
pyromancer 0 Report post Posted June 28, 2011 Hi there, I just tried this solution and it works, but then the dropdown menus are screwed up. It seems that they are centered as well, while they should be aligned left - relative to the location of the parent link. Is there a solution for this, too? Cheers, David Share this post Link to post Share on other sites
pyromancer 0 Report post Posted June 28, 2011 ps... Tot make it a bit clearer what I mean: As you can see, the header menu is getting slightly full on my site: www.pyromancer.nl I would like to put some options together below one parent page. But the drop down meny gets screwed when I center the menu in the way described above... Share this post Link to post Share on other sites
pyromancer 0 Report post Posted June 28, 2011 Oops... The URL should be: www.pyromancer.nl/weblog since the one above links to my non-Wordpress site, which will soon be removed. (Did I miss an 'edit post' button?) /EDIT: I surely did. Sorry... Share this post Link to post Share on other sites
chrissoll 0 Report post Posted January 22, 2012 Hi there, I'm looking to center the navigation on my site aswell. i've followed the instructions above and copied pasted it in the CSS section of my Platform plugin...but it still seems to be left-aligned. Little help?...Anyone? Site is: www.chrissoll.com Thanks in advance Share this post Link to post Share on other sites
shaneosmond 0 Report post Posted February 9, 2012 I have also added Kate's code to my Custom CSS however my drop down lists are also now centered and very off alignment (almost unreadable). Any solution to this problem? Thanks. Share this post Link to post Share on other sites