WordPress.org

Ready to get started?Download WordPress

Forums

Centering Nav on Pilcrow & Centering Footer Content (5 posts)

  1. LaceySue
    Member
    Posted 2 years ago #

    I am looking to find code/HowTo on centering my navigation (Pilcrow theme) on my blog.

    Secondly, my footer is oddly split into two areas (one and two) in my widget options. Is there a way to clean up the footer to have one large section? If that is not possible why is one area set to the left and the other set center. Again, to see this please see my blog and scroll to the bottom.

    Thank you so much to whomever can help!

    Lacey

  2. peredur
    Member
    Posted 2 years ago #

    You're fighting a losing battle trying to center a navigation menu, IMO.

    Unless you can guarantee that you'll never change your menu, you cannot guarantee what width it will be. And if you don't know what width it will be, you can't set equal (or auto) left and right margins, which is how you center a block element.

    If someone knows better, I'd be glad to hear it.

    Cheers

    PAE

  3. peredur
    Member
    Posted 2 years ago #

    On the footer question...

    Yes, you can re-write the footer. You just need to alter footer.php if your theme follows the usual conventions.

    You should, however, bear in mind that the only recommended way of editing themes is via a Child Theme.

    HTH

    PAE

  4. Ian Stewart
    Theme Wrangler
    Posted 2 years ago #

    I used to tell people to not bother trying to center a dynamic menu with dropdowns. Then I read this post …

    http://matthewjamestaylor.com/blog/centered-dropdown-menus

    Good luck!

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Oh nice article! Duly bookmarked. Thanks, Ian.

Topic Closed

This topic has been closed to new replies.

About this Topic