Support » Fixing WordPress » Header at Bottom of page

  • Resolved WiiNet


    This should be fun. The header looks fine on the index page, but in all browsers when you click on Today’s News, Categories or Archives the header is at the bottom of the page? The very bottom, below the copyright. I coped the code from my index page and it’s still at the bottom. Thanks for any help.

    Here the code:

    <?php get_header(); ?>
    	<div id="content" class="narrowcolumn">
    		<?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    			<div class="archivep" id="post-<?php the_ID(); ?>">
    				<b><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></b>
    				<br />
    		<?php endwhile; ?>
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    			<div class="clear"></div>
    	<?php else : ?>
    		<h2 class="center">Not Found</h2>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    	<?php endif; ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  • The topic ‘Header at Bottom of page’ is closed to new replies.