WordPress.org

Ready to get started?Download WordPress

Forums

Scrappy
Center Menu Bar (2 posts)

  1. jkgray
    Member
    Posted 1 year ago #

    Is there any way to center the menu bar across the top of the Scrappy theme? As it is now it defaults to the left. Thanks!

    http://www.nursingnurture.com

  2. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    Yes, you can use CSS in a child theme or a CSS plugin (like Jetpack) to do this. I recommend using Firebug for CSS work--makes it much easier.

    I think this should do it, but it's untested -- you may need to play around with it a bit.

    header#masthead .menu ul li,
    header#masthead ul.menu li {
       display: inline-block;
       float: none;
    }
    .main-navigation {
       text-align: center;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.