Title: Removing Ad Section
Last modified: August 19, 2016

---

# Removing Ad Section

 *  Resolved [doofalot](https://wordpress.org/support/users/doofalot/)
 * (@doofalot)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/removing-ad-section/)
 * I am currently working with the GrungeOne theme…
 * [http://www.skinpress.com/grungeone-theme/](http://www.skinpress.com/grungeone-theme/)
 * And at the top of the right sidebar, there are spaces for four 125×125 ads. These
   are not widgets. They are there if I clear everything from the sidebar and add
   new widgets.
 * I don’t know how to cover them with real ads. But more importantly, I don’t know
   how to simply delete that section. I may not want ads of those dimensions or 
   in that spot.
 * Any advice is appreciated. Thanks!

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

 *  [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * (@jleuze)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/removing-ad-section/#post-949604)
 * If you go to the settings section of your Dashboard, there is a “Theme Ads” page.
   You can add your links and graphics here, or set the number of ads to 0 to hide
   them.
 * You can cut this out of your theme completely by deleting this code from the 
   footer.php file:
 *     ```
       <!-- ADS start -->
                   <div id="right_ads">
               	<? theme_ads_show(); ?>
                   <!-- ADS end -->
       </div>
       ```
   
 *  Thread Starter [doofalot](https://wordpress.org/support/users/doofalot/)
 * (@doofalot)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/removing-ad-section/#post-949694)
 * Thank you.
 *  Thread Starter [doofalot](https://wordpress.org/support/users/doofalot/)
 * (@doofalot)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/removing-ad-section/#post-949695)
 * Additional question I don’t want to waste a new thread on…
 * With this template, how would I make a 1-pixel border around images inserted 
   into posts? At present there are no borders. I’ve tried altering some CSS files
   but can’t seem to find the right tag to edit…
 *  [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * (@jleuze)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/removing-ad-section/#post-949698)
 * No problem doofalot, you should have these lines in your stylesheet:
 *     ```
       p img {
       	padding: 0;
       	max-width: 100%;
       	}
       ```
   
 * Replace it with something like this:
 *     ```
       p img {
       	padding: 0;
       	max-width: 100%;
       	border:1px solid #dedede;
       	}
       ```
   
 * Also, take a look at these, you could add a border to them:
 *     ```
       img.centered {
       	display: block;
       	margin-left: auto;
       	margin-right: auto;
       	}
   
       img.alignright {
       	padding: 4px;
       	margin: 0 0 2px 7px;
       	display: inline;
       	}
   
       img.alignleft {
       	padding: 4px;
       	margin: 0 7px 2px 0;
       	display: inline;
       	}
       ```
   

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

The topic ‘Removing Ad Section’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Josh Leuze](https://wordpress.org/support/users/jleuze/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/removing-ad-section/#post-949698)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
