[NSFW] How in the world do I center my horizontal wp_nav_menu?! (3 posts)

  1. dopelogos
    Posted 4 years 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?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Unless you give the menu a fixed width and centre the enclosing <ul>, you can't centre it.

  3. enpinteractive
    Posted 4 years ago #

    That worked perfect, thank you.

    .noalign {
    width: 250px;
    margin: 0px auto 0px auto;

Topic Closed

This topic has been closed to new replies.

About this Topic