Sidebar pushes to the bottom of blog post page

Discussion in 'BlackBird WordPress Theme' started by jalex860, Dec 27, 2013.

  1. jalex860

    jalex860 New Member

    Joined:
    Apr 6, 2013
    Messages:
    27
    Likes Received:
    0
    My sidebar just recently began pushing to the bottom of my blog post page in the blackbird theme. I havent changed the single.php or sidebar.php files (mind you I am not savvy in that dept at all. This is the link to the post I am referring to: http://www.reigninginlove.com/s-m-a-r-t-goals-for-2014/

    Here is the coding for my Single.php file:
    <?php
    /**
    * The Template for displaying all single posts.
    *
    * @package WordPress
    * @subpackage Twenty_Eleven
    * @since Twenty Eleven 1.0
    */
    ?>
    <?php get_header(); ?>

    <!--Start Page Heading-->
    <!--Start Page Content -->
    <div class="page-content-container">
    <div class="page-content single">
    <div class="grid_16 alpha">
    <div class="content-bar">
    <!-- Start the Loop. -->
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <!--post start-->
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h1 class="post_title single"><span><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( esc_attr__( 'Permalink to %s', 'black-bird' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_title(); ?></a><span></h1>
    <div class="post_content">
    <?php the_content(); ?>
    <div class="clear"></div>
    <?php if (has_tag()) { ?>
    <div class="tag">
    <?php the_tags(__('Post Tagged with ', ', ', '')); ?>
    </div>
    <?php } ?>
    </div>
    <ul class="post_meta">
    <li class="posted_by"><img src="<?php echo get_template_directory_uri(); ?>/images/admin.png" />&nbsp;&nbsp;<span>Posted by</span>&nbsp;&nbsp;<?php the_author_posts_link(); ?></li>
    <li class="post_category"><span>Posted in</span>&nbsp;&nbsp;<?php the_category(', '); ?></li>
    <li class="post_date"><img src="<?php echo get_template_directory_uri(); ?>/images/date.png" />&nbsp;&nbsp; <?php echo get_the_time('M, d, Y') ?></li>
    <li class="post_comment"><img src="<?php echo get_template_directory_uri(); ?>/images/comment.png" />&nbsp;&nbsp;<span><?php comments_popup_link('No Comments.', '1 Comment.', '% Comments.'); ?></span>&nbsp;&nbsp;</li>
    </ul>
    </div>
    <!--End Post-->
    <?php endwhile;
    else: ?>
    <div class="post">
    <p>
    <?php _e('Sorry, no posts matched your criteria.', 'black-bird'); ?>
    </p>
    </div>
    <?php endif; ?>
    <!--End Loop-->
    <nav id="nav-single"> <span class="nav-previous">
    <?php previous_post_link('%link', __('<span class="meta-nav">&larr;</span> Previous Post ', 'nutrition')); ?>
    </span> <span class="nav-next">
    <?php next_post_link('%link', __('Next Post <span class="meta-nav">&rarr;</span>', 'nutrition')); ?>
    </span> </nav>
    <!--Start Comment box-->
    <?php comments_template(); ?>
    <!--End Comment box-->
    </div>
    </div>
    <div class="grid_8 omega">
    <!--Start sidebar-->
    <?php get_sidebar(); ?>
    <!--End sidebar-->
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <?php get_footer(); ?>

    For my Sidebar.php file:

    <div class="sidebar">
    <?php if (!dynamic_sidebar('primary-widget-area')) : ?>
    <?php get_search_form(); ?>
    <h3>
    <?php _e('Categories', 'black-bird'); ?>
    </h3>
    <ul>
    <?php wp_list_categories('title_li'); ?>
    </ul>
    <h3>
    <?php _e('Archives', 'black-bird'); ?>
    </h3>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    <?php endif; // end primary widget area ?>
    <?php
    // A second sidebar for widgets, just because.
    if (is_active_sidebar('secondary-widget-area')) :
    ?>
    <?php dynamic_sidebar('secondary-widget-area'); ?>
    <?php endif; ?>
    </div>

    Can anyone help?
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207

Share This Page