Support » Fixing WordPress » Twenty Twelve Sidebar below Posts

  • I have seen this problem addressed over and over in here but unfortunately that I can’t seem to figure out the problem.

    I am barely keeping my head above water in CSS and PHP is pretty much a mystery for the most part. I get it a little. Anyway, here on my site;

    The widget area is showing up below the main content in the posts area. It seems to be fine in the pages. This problem is only effecting my posts.

    I understand that it is probably a DIV problem, but for the life of me I can’t find it in the CSS.

    This theme is a child theme that I built out of Twenty Twelve. But I can’t find the problem. This problem showed up today after doing some content editing. The only thing I installed new was WordFence which may or may not have anything to do with this.

    I did modify a bit of CSS for the sidebar text style today. Here is the code:

    #secondary.widget-area aside#recent-posts-3.widget.widget_recent_entries ul {
    		font-family: "proxima-nova-extra-condensed", sans-serif;
    		font-style: normal;
    		font-weight: 400;
    		font-size: 15px;
    		color: #663300;

    No other files have been modified and I can’t find anything in the CSS that refers to a DIV that has been modified in my custom style sheet.

    And this is all the text in the single.php file:

     * The Template for displaying all single posts
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
    get_header(); ?>
    	<div id="primary" class="site-content">
    		<div id="content" role="main">
    	<div class="entry">
    	<div <?php post_class('single clear'); ?> id="post_<?php the_ID(); ?>">
        	<div class="post-meta">
            	<h2 class="title entry-title"><?php the_title(); ?></h2>
    			<?php while ( have_posts() ) : the_post(); ?>
    				<?php get_template_part( 'content', get_post_format() ); ?>
    				<nav class="nav-single">
    					<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3>
    					<span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'twentytwelve' ) . '</span> %title' ); ?></span>
    					<span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'twentytwelve' ) . '</span>' ); ?></span>
    				</nav><!-- .nav-single -->
    				<?php comments_template( '', true ); ?>
    			<?php endwhile; // end of the loop. ?>
    		</div><!-- #content -->
    	</div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Any help at all would be greatly appreciated.

    Thanks in advance

  • The topic ‘Twenty Twelve Sidebar below Posts’ is closed to new replies.