Support » Fixing WordPress » [NSFW] How in the world do I center my horizontal wp_nav_menu?!
5 years, 7 months ago
So, this is my page:
Dope Fucking Logos
All I want.. is a centered horizontal wp_nav_menu. I’ve been attempting to figure this out for what feels like a friggin’ ETERNITY, and I just can’t take it anymore. It’s driving me crazy!
As a beginner in regards to PHP/CSS/HTML5, what should I do?
Unless you give the menu a fixed width and centre the enclosing <ul>, you can’t centre it.
5 years, 1 month ago
That worked perfect, thank you.
margin: 0px auto 0px auto;