[Resolved] Search Results page rendering differently than rest of site.
I’m working on a site for work and have almost everything finished, but I cannot figure out why the search results page is showing up as though the CSS is pushing it off the screen.
I have installed the theme to a test site: lucienconsulting.com/greystone/
Everything before the worpress search results php is the same as it is on page.php, index.php, etc… Same for everything after the search results code. I did not change the search results php.
<?php get_header(); ?> <div id="banner"> <img src="<?php bloginfo('template_directory'); ?>/image/lightbulb.png" width="960" height="231" alt="Use Self-service and WIN BIG"> </div> <nav> <p class="welcome">Welcome </p> <?php wp_nav_menu(array('menu'=> 'Main Nav')); ?> </nav> <!-- End Nav --> </header> <section id="right"> <div class="top" align="left"> <?php if (have_posts()) : ?> <h2>Search Results</h2> <?php include (TEMPLATEPATH . '/inc/nav.php' ); ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <?php include (TEMPLATEPATH . '/inc/meta.php' ); ?> <div class="entry"> <?php the_excerpt(); ?> </div> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/inc/nav.php' ); ?> <?php else : ?> <h2>No posts found.</h2> <?php endif; ?> </div> </section> <?php get_sidebar(); ?> <?php get_footer(); ?>
- The topic ‘[Resolved] Search Results page rendering differently than rest of site.’ is closed to new replies.