Centralize 'navigation'

Hello, I made a small change in the header.php file and now I want to centralize the ‘navigation’.

How did:

As I want:

I can switch to the ‘left’ and ‘right’ with ‘float’ tag, but it does not accept ‘center’
It has some way to centralize the ‘navigation’?

Hi @mcartell,

I hope you are well today and thank you for your question.

The float CSS property doesn’t accept CSS value. See more information about it here http://www.w3schools.com/cssref/pr_class_float.asp

You can try centralizing the ‘navigation’ by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Apperance -> Theme Options -> Other -> Custom CSS

#masthead .nav.navbar-nav {
  float: none;
  margin: 0 auto;
  width: 550px;
}

Change the width in the above code according to the width of your navigation.

If it doesn’t help you then please share your site URL so that i can troubleshoot it.

Best Regards,
Movin