Title: CSS&#8211;Sidebar Won&#8217;t Delete
Last modified: August 19, 2016

---

# CSS–Sidebar Won’t Delete

 *  Resolved [zigggy](https://wordpress.org/support/users/zigggy/)
 * (@zigggy)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/css-sidebar-wont-delete/)
 * Hi everyone,
    I needed to get rid of my sidebar, so I deleted all references 
   of <?php get_sidebar(); ?> in my files and also deleted sidebar.php. However,
   now there is whitespace where the bar used to be. I’m assuming this is a CSS 
   issue. Here is my style file. My website is [URL redacted]. Can anyone help me
   out? How do I get rid of the whitespace?
 * _[CSS moderated as per the [Forum Rules](http://wordpress.org/support/topic/68664).
   Please use the [pastebin](http://wordpress.pastebin.ca/)]_

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/css-sidebar-wont-delete/#post-1425278)
 * a link would have been enough – no need to post all this css code, as it is easy
   to retrieve from the browser.
 * your content is already stretching across the new space. what you see as sidebar
   comes from this background image: [http://minervandialogues.com/wp-content/themes/shades-of-blue/images/wrap.png](http://minervandialogues.com/wp-content/themes/shades-of-blue/images/wrap.png)
 * referenced in style.css here:
 *     ```
       #wrap {
       background: #FFFFFF url(images/wrap.png);
       width: 960px;
       .....
       ```
   
 * just delete the ‘url(images/wrap.png)’
    leave the semicolon ; at the end of the
   line.
 *  Thread Starter [zigggy](https://wordpress.org/support/users/zigggy/)
 * (@zigggy)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/css-sidebar-wont-delete/#post-1425284)
 * Thank you, thank you, thank you! Worked perfectly.

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

The topic ‘CSS–Sidebar Won’t Delete’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [zigggy](https://wordpress.org/support/users/zigggy/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/css-sidebar-wont-delete/#post-1425284)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
