Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello fmigryphon,

    By looking at the source code, I guess you missed a </div> tag @ page.php.

    If you can find it out and add it in the right place then sidebar will go up like its in the homepage.

    Thread Starter fmigryphon

    (@fmigryphon)

    I have an equal number of open and closing divs. Here’s the complete source code from page.php.

    <?php
    /**
    * The template for displaying all pages.
    *
    * @package WordPress
    * @subpackage CTR Theme
    * @since CTR Theme 1.0
    */

    get_header();
    $subtheme = get_option(‘ctrplus_ad_subtheme’);
    ?>
    <?php if($subtheme == ‘ctr-modern’) {?>
    <div class=”container-fluid top_margin”>
    <div class=”row”>
    <div class=”container”>
    <div class=”col-lg-3 col-md-4 col-sm-4 col-xs-12″>
    <?php get_sidebar(); ?>
    </div>
    <div class=”col-lg-9 col-md-8 col-sm-8 col-xs-12″><?php }?>
    <?php if($layout == ‘728’){ echo “<div id=’leaderboard’>{$ads[‘728’]}</div>”; } ?>
    <div id=”content” role=”main”>
    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php include(TEMPLATEPATH . ‘/includes/postBody.php’); ?>
    </div><!– #post-## –>

    <?php endwhile; ?>
    <?php comments_template(); ?>

    </div><!– #content –>
    <?php if($subtheme == ‘ctr-modern’) {?>
    </div>
    </div>
    </div>
    </div>
    <?php }?>
    <?php get_footer(); ?>

    Thread Starter fmigryphon

    (@fmigryphon)

    It was Jetpack’s social comments plugin. I deactivated it and it’s working.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Right sidebar widget moved below content’ is closed to new replies.