Snippets: Center Menu Links in Header Style Two

You can now do this via a Customizer option at Customize > Header > Menu > Center Menu Items so there is no need for custom CSS.
All CSS snippets should be added via a child theme's style.css file or using the built-in Custom CSS panel.