• Resolved Sunnyj

    (@sunnyj)


    The regular WordPress menu HTML is outputted as

    <ul>
    <li></li>
    <li></li>
    <li></li>
    </ul>

    but I need the </ul> like so…

    <ul>
    <li></li>
    <li></li>
    <li></li></ul>

    I don’t know php, how to do this?

    (And in case you want to know why… on Google Chrome there’s a noticeable space after the last </li> when I try to justify the menu via this method: https://jsfiddle.net/EtU9j/.)

Viewing 1 replies (of 1 total)
  • Thread Starter Sunnyj

    (@sunnyj)

    Or better yet…

    Can you tell me how to insert HTML at the end of the list? Like so:

    <ul>
        <li></li>
        <li></li>
        <li></li>
        <span class="justify"></span>
    </ul>

    would solve the problem

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress nav menu adjust the HTML’ is closed to new replies.