WordPress.org

Forums

[resolved] Cannot Center Twenty Fourteen Top Menu (9 posts)

  1. Shaunrafuse
    Member
    Posted 1 year ago #

    I'm trying to center the top menu of the Twenty Fourteen theme but have no luck..

    I've centered the whole site but can't get the menu centered, any ideas??

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you using a child theme or a custom CSS plugin?

  3. Shaunrafuse
    Member
    Posted 1 year ago #

    custom css

  4. Shaunrafuse
    Member
    Posted 1 year ago #

    and I have these horrible grey boardering left and right side of my site, about 100px wide on each side!!

    http://www.homehealthyfitness.com

    looks horrendous lol

  5. Shaunrafuse
    Member
    Posted 1 year ago #

    actually about 75px.. still lol CANT BE THERE!

  6. mlddev
    Member
    Posted 1 year ago #

    The "grey color" you mention is the body background color. If you wanted that black to match your content area color scheme you could change your background color via Appearance > Customize > Colors > Background color -> set to #000.

  7. Shaunrafuse
    Member
    Posted 1 year ago #

    Correct you are, thank you mlddev..

    I still cannot figure out how to center the main menu though.. Frustrating me!

  8. mlddev
    Member
    Posted 1 year ago #

    A method... you could edit your CSS code with the following change and addition:

    .primary-navigation {
      float: none; /* change from float right */
      text-align: center; /* addition to center text */
    }
  9. Shaunrafuse
    Member
    Posted 1 year ago #

    Ahh it's a floater issue! Thanks mlddev worked perfect!

Topic Closed

This topic has been closed to new replies.

About this Topic