Title: How to remove default sidebar?
Last modified: August 21, 2016

---

# How to remove default sidebar?

 *  Resolved [enriquescribano](https://wordpress.org/support/users/enriquescribano/)
 * (@enriquescribano)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/how-to-remove-default-sidebar/)
 * Hey guys!
    First I want to congratulate a themes for the great theme!
 * I have recently installed it, and I am having trouble with the sidebar.
    I only
   want to display the sidebar on some pages, not on every of them.
 * At the moment, my custom sidebar (using a plugin to change the visibility) works
   great in the pages it is supposed to work. But on the other pages, it appears
   the default sidebar (the one with Archive, Meta, … widgets). This is the one 
   I want to delete.
 * Thanks in advance!!
 * Enrique

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

 *  [vladff](https://wordpress.org/support/users/vladff/)
 * (@vladff)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/how-to-remove-default-sidebar/#post-5127900)
 * Hello,
 * You would need to create a child theme and create a file called sidebar.php in
   it.
 * In that file, use this code:
 *     ```
       <div id="secondary" class="widget-area" role="complementary">
       	<?php dynamic_sidebar( 'sidebar-1' ); ?>
       </div><!-- #secondary -->
       ```
   
 * You have a point about this, we should remove the default widgets in a future
   update.
 *  Thread Starter [enriquescribano](https://wordpress.org/support/users/enriquescribano/)
 * (@enriquescribano)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/how-to-remove-default-sidebar/#post-5127904)
 * Thanks vladff!!
 * It works great, but there is work to do with the design yet. Because the page
   does not resize itself, so the space for the sidebar is left blank.
 * For the next update ;D!!
 * Thanks again!
 * Enrique
 *  [vladff](https://wordpress.org/support/users/vladff/)
 * (@vladff)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/how-to-remove-default-sidebar/#post-5127912)
 * The page won’t resize itself and that won’t happen in the future update either,
   simply because it isn’t meant to work this way :).
 * If you post a link to your website, I might be able to help with some styling.
 *  Thread Starter [enriquescribano](https://wordpress.org/support/users/enriquescribano/)
 * (@enriquescribano)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/how-to-remove-default-sidebar/#post-5127953)
 * okey!!
 * forgot to mark it as resolved!
 * Thanks!

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

The topic ‘How to remove default sidebar?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/solon/1.08/screenshot.png)
 * Solon
 * [Support Threads](https://wordpress.org/support/theme/solon/)
 * [Active Topics](https://wordpress.org/support/theme/solon/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/solon/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/solon/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [enriquescribano](https://wordpress.org/support/users/enriquescribano/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/how-to-remove-default-sidebar/#post-5127953)
 * Status: resolved