Title: Cannot remove sidebar
Last modified: June 6, 2019

---

# Cannot remove sidebar

 *  Resolved [Abe](https://wordpress.org/support/users/abu117/)
 * (@abu117)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/)
 * Not sure if this is a theme problem or something I have done. pages are set to
   full-width, but as you can see (on a desktop) the sidebar space remains?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-remove-sidebar-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [surbhis](https://wordpress.org/support/users/surbhis/)
 * (@surbhis)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/#post-11610402)
 * Hi,
 * Please use the given CSS code in custom CSS box.
 *     ```
       .page-id-2 .col-md-4.enigma-sidebar {
           display: none;
       }
       .page-id-2 .col-md-8 {
           width: 100%;
       }
       ```
   
 * Thanks.
 *  Thread Starter [Abe](https://wordpress.org/support/users/abu117/)
 * (@abu117)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/#post-11612430)
 * thanks – that worked for the homepage 🙂 How can I do this for every page? I’m
   assuming I shouldn’t have to add this CSS rule for each individual page?
 *  [surbhis](https://wordpress.org/support/users/surbhis/)
 * (@surbhis)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/#post-11614282)
 * Hello,
 * You really selected “page full width” ? Is it not in full width?
 * Then go to enigma theme directory. Open page.php file and see the line given 
   below –
 * `<div class="col-md-8">`
 * replace this code with this code – `<div class="col-md-12">` save the file after
   that.
 * See the result.
 * Thanks.
 *  Thread Starter [Abe](https://wordpress.org/support/users/abu117/)
 * (@abu117)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/#post-11616654)
 * Sorry, it seemed the other pages were set to default. All is OK now 🙂 Thanks
   for your help,
 * Abe
 *  [surbhis](https://wordpress.org/support/users/surbhis/)
 * (@surbhis)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/#post-11617521)
 * most welcome.
    -  This reply was modified 6 years, 11 months ago by [surbhis](https://wordpress.org/support/users/surbhis/).
    -  This reply was modified 6 years, 11 months ago by [surbhis](https://wordpress.org/support/users/surbhis/).

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

The topic ‘Cannot remove sidebar’ is closed to new replies.

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

## Tags

 * [fullwidth](https://wordpress.org/support/topic-tag/fullwidth/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 5 replies
 * 2 participants
 * Last reply from: [surbhis](https://wordpress.org/support/users/surbhis/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/cannot-remove-sidebar-2/#post-11617521)
 * Status: resolved