January 27, 2013 at 12:14 am #15248
I would like to know how to center the navigation text in the sample theme, i tried text-align:center; in a few different parts but it’s not working. Please can anyone help?January 27, 2013 at 11:54 am #15347
Try this tutorial:
you need to look for: #nav
If you tried this, and it didn’t work (after clearing your cache), can you please post a link to your site, so we can look at the code. Thanks.
January 27, 2013 at 2:16 pm #15391
Nope that didn’t work there is no nav or subnav in the css this is the link to the siteJanuary 27, 2013 at 3:40 pm #15419
Susan NelsonParticipantPost count: 94
You’ll have to play around with it, but you could start with adding something like this:
margin: 20px auto;
For the margin, you can use any number for the top/bottom – I just happened to use 20px.
Ideally, you’ll need to add a structure wrap so that the black background can stretch from edge to edge…. Let me do a little looking to see what I can come up with. I’ll be back.
January 27, 2013 at 3:42 pm #15421
Susan NelsonParticipantPost count: 94January 27, 2013 at 6:00 pm #15448
From my friend @bradleypotter:
Apply text-align: center; to .genesis-nav-menu and remove float:left from .genesis-nav-menu ul and .genesis-nav-menu li
January 28, 2013 at 8:41 am #15551
Thanks so much susan that worked perfect! And thank your friend bradley for me! And thank you to the other susan for your help!January 28, 2013 at 9:14 am #15556
Thanks for letting us know – I passed your thanks along to Bradley, too!
Closing this thread as resolved – please start another thread if you have another question.
January 28, 2013 at 9:14 am #15557
David ChuParticipantPost count: 313
I used this method for centering my menu and it worked just fine. However, if you only follow what’s in the article, dropdowns will be messed up. I fixed that, too – you can see what I did if you look for “dave” in the comments.
Your mileage may vary slightly, but my own base theme is based on Sample, so it should be pretty close. Hope this helps someone!
David Chu · Genesis Custom Theme Development
The topic ‘SAMPLE THEME – How do i center navigation text?’ is closed to new replies.