• Weird problem here

    View: https://www.liamzdevbox.com

    The “Posts” somehow above the nav bar, why is this?

    .......
    <div id="nav">
    <?php wp_nav_menu(); ?>
    </div>
    <div id="container">
    <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    <div id="nav-above" class="navigation">
    <p class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">?</span> older articles', 'liamzdevbox' )) ?></p>
    <p class="nav-next"><?php previous_posts_link(__( 'newer articles <span class="meta-nav">?</span>', 'liamzdevbox' )) ?></p>
    </div>
    <?php } ?>
    <?php while ( have_posts() ) : the_post() ?>
    .......

    Some code to look at.. i can’t see where i’ve gone wrong.

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

    (@liamfos)

    The nav bar is above the containter (‘Posts’) closed after the #nav

    its lost me…

Viewing 1 replies (of 1 total)
  • The topic ‘Weird Problem…’ is closed to new replies.