WordPress.org

Ready to get started?Download WordPress

Forums

Scrappy
How to center navigation menu (3 posts)

  1. Burpeesauce
    Member
    Posted 2 years ago #

    How do I change the navigation menu so that it's centered on the page?

    Thanks in advance!

    http://wordpress.org/extend/themes/scrappy/

  2. Caroline Moore
    Member
    Theme Author

    Posted 2 years ago #

    Hi there. This is a complicated CSS change and beyond the realm of basic support. However, this is how I'd approach it:

    You'd need to set a fixed width on the menu based on the number of items in the menu (note that this would have to be changed every time you wanted to add or remove a menu item, so it's not fluid), set margins to auto and display type to block. I'm not sure how this affects the drop-down functionality; you'd have to play around with it. Look at a guide like this to get an idea, or Google "center horizontal menu" for other tutorials.

    As always, I recommend making these changes within a child theme so your changes aren't overwritten by future theme updates.

  3. Burpeesauce
    Member
    Posted 2 years ago #

    Thanks for your reply. I think I'm in way over my head so I'm just going to leave it.
    Great theme by the way!

    Thanks,
    Sarah

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic