Title: zee92's Replies | WordPress.org

---

# zee92

  [  ](https://wordpress.org/support/users/zee92/)

 *   [Profile](https://wordpress.org/support/users/zee92/)
 *   [Topics Started](https://wordpress.org/support/users/zee92/topics/)
 *   [Replies Created](https://wordpress.org/support/users/zee92/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/zee92/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/zee92/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/zee92/engagements/)
 *   [Favorites](https://wordpress.org/support/users/zee92/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Sydney] Remove sidebar from sydney theme](https://wordpress.org/support/topic/remove-sidebar-from-sydney-theme/)
 *  [zee92](https://wordpress.org/support/users/zee92/)
 * (@zee92)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-sidebar-from-sydney-theme/#post-7031592)
 * After around 4 hours of tinkering around, I’ve found it (I tested it out using
   the child theme I suggest you do too)
 * 1) Go to the page.php file and remove <?php get_sidebar(); ?>
 * 2) Change <div id=”primary” class=”content-area col-md-9″> to <div id=”primary”
   class=”content-area col-md-12″>
 * So now your page.php code should look like –
 * <?php
    /** * The template for displaying all single posts. * * [@package](https://wordpress.org/support/users/package/)
   Sydney */
 * get_header(); ?>
 *  <?php if (get_theme_mod(‘fullwidth_single’)) { //Check if the post needs to 
   be full width
    $fullwidth = ‘fullwidth’; } else { $fullwidth = ”; } ?>
 *  <div id=”primary” class=”content-area col-md-12 <?php echo $fullwidth; ?>”>
   
   <main id=”main” class=”post-wrap” role=”main”>
 *  <?php while ( have_posts() ) : the_post(); ?>
 *  <?php get_template_part( ‘content’, ‘single’ ); ?>
 *  <?php sydney_post_navigation(); ?>
 *  <?php
    // If comments are open or we have at least one comment, load up the 
   comment template if ( comments_open() || get_comments_number() ) : comments_template();
   endif; ?>
 *  <?php endwhile; // end of the loop. ?>
 *  </main><!– #main –>
    </div><!– #primary –>
 * <?php get_footer(); ?>
 * —Hope it helps.
 * EDIT: Also, this should mean that there should be no “sidebar” widget under Appearance
   > Customize > Widgets . If you still see it and the sidebar still remains, I 
   suggest you undo the whole thing and manually remove(delete by clicking on each
   one: widget > sidebar > menuname > delete) all the menus and THEN deleting the
   code.

Viewing 1 replies (of 1 total)