• Resolved doofalot

    (@doofalot)


    I am currently working with the 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)
  • 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

    (@doofalot)

    Thank you.

    Thread Starter doofalot

    (@doofalot)

    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…

    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.