Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using the Starkers Theme as a foundation to build my WordPress theme and I have noticed the search.php page completely breaks the design of my site. Does anyone have similar experience with this search.php template page? Below is my code if that is able to help in any way. Here are two screenshots, one of the homepage and one of the search page. I'm using the 960 grid.

Homepage: http://bit.ly/Ltass3 Search Page: http://bit.ly/MgOdTi

<!-- header.php -->
            <?php get_header(); ?>
            <!-- /header.php -->

            <!-- 960 16 Column Grid -->
            <section class="container_16">

            <!-- Page -->
            <div class="grid_16 page-content">

            <!-- Page Title -->
            <h1><?php the_title(); ?></h1>
            <!-- /Page Title -->

            <?php if ( have_posts() ) : ?>
            <h1><?php printf( __( '%s', 'twentyten' ), '' . get_search_query() . '' ); ?></h1>
            <?php
            /* Run the loop for the search to output the results.
            * If you want to overload this in a child theme then include a file
            * called loop-search.php and that will be used instead.
            */
            get_template_part( 'loop', 'search' );
            ?>
            <?php else : ?>
            <h2><?php _e( 'Nothing Found', 'twentyten' ); ?></h2>
            <p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyten' ); ?></p>
            <?php get_search_form(); ?>
            <?php endif; ?>

            </div>
            <!-- /Page -->

            </section>
            <!-- /960 16 Column Grid -->

            <!-- sidebar.php -->
            <?php get_sidebar(); ?>
            <!-- /sidebar.php -->

            <!-- footer.php -->
            <?php get_footer(); ?>
            <!-- /footer.php -->
share|improve this question
Can we see a live view of the broken layout? – Chip Bennett Jun 16 '12 at 18:59
2  
Screenshots really don't help. Without access to the rendered markup, I don't see how we can possibly answer the question... – Chip Bennett Jun 16 '12 at 19:36
1  
check your search page for html validation errors: validator.w3.org – Michael Jun 16 '12 at 19:49
@ChipBennett - thank you! let me work through these validation errors. – Matt Jun 22 '12 at 15:40

closed as too localized by Michael, toscho Jul 15 '12 at 22:41

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.