WordPress.org

Ready to get started?Download WordPress

Forums

Modularity Lite
how to center main navigation text (1 post)

  1. pgb
    Member
    Posted 4 months ago #

    How can I center the main navigation page titles? I've tried css but obviously not the right choice.
    I've tried
    #top div.main-nav {text-align: center;}
    but it doesn't work.
    I've also tried
    #top div.main-nav ul {padding-left 60px;}
    This sort of works, but if I want to add another page to the navigation, I will have to change the padding-left again.

    I look forward to your reply.

Reply

You must log in to post.

About this Theme

About this Topic