WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Pushed to the bottom (1 post)

  1. ShenandoahBicycle
    Member
    Posted 1 year ago #

    The sidebar on our site keeps getting pushed to the bottom instead of being to the right of our content. I am not too familiar with all the code and havent had any luck fixing it as of yet. Our website is

    http://www.shenandoahbicycle.com

    The sidebar editor currently reads as:

    <?php
    /**
     * The Sidebar containing the primary and secondary widget areas.
     *
     * @package WordPress
     * @subpackage Twenty_Ten
     * @since Twenty Ten 1.0
     */
    ?>
    
    <<?php
    	/* When we call the dynamic_sidebar() function, it'll spit out
    	 * the widgets for that widget area. If it instead returns false,
    	 * then the sidebar simply doesn't exist, so we'll hard-code in
    	 * some default sidebar stuff just in case.
    	 */
    	if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
    
    			<div><li id="search" class="widget-container widget_search">
    				<?php get_search_form(); ?>
    
    			<li id="archives" class="widget-container">
    				<h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
    
    <ul>
    					<?php wp_get_archives( 'type=monthly' ); ?>
    				</ul>
    				<h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
    
    <ul>
    					<?php wp_register(); ?>
    
    <li><?php wp_loginout(); ?></li>
    					<?php wp_meta(); ?></ul>
    			</li
    
    			<li id="meta" class="widget-container">
    
    		<?php endif; // end primary widget area ?>
    			</div>
    		<!-- #primary .widget-area -->
    
    <?php
    	// A second sidebar for widgets, just because.
    	if ( is_active_sidebar( 'secondary-widget-area' ) ) : ?>
    
    		<div id="secondary" class="widget-area" role="complementary">
    			<ul class="xoxo">
    				<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
    
    		</div><!-- #secondary .widget-area -->
    
    <?php endif; ?>

    Someone please help!

    [Moderated - Please remember to use code tags. They're the backticks]

Topic Closed

This topic has been closed to new replies.

About this Topic