Support » Themes and Templates » Cannot Center Twenty Fourteen Top Menu

  • Resolved Shaunrafuse

    (@shaunrafuse)


    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??

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Forum Moderator

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

    Shaunrafuse

    (@shaunrafuse)

    custom css

    Shaunrafuse

    (@shaunrafuse)

    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

    Shaunrafuse

    (@shaunrafuse)

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

    mlddev

    (@mlddev)

    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.

    Shaunrafuse

    (@shaunrafuse)

    Correct you are, thank you mlddev..

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

    mlddev

    (@mlddev)

    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 */
    }
    Shaunrafuse

    (@shaunrafuse)

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot Center Twenty Fourteen Top Menu’ is closed to new replies.