• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Center Menubar

How can I center the menu bar at the top on http://lessonkings.com/ ?
Nathan Riley
Nathan Riley
1 Solution
Jason C. LevineNo oneCommented:
In superfish.css, change .sf-menu to this:

.sf-menu {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    width: 50%;

In order to center a container in CSS, it must have a declared width.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now