Forums

[resolved] Removing Ad Section (5 posts)

  1. doofalot
    Member
    Posted 3 years ago #

    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 125x125 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!

  2. JLeuze
    Member
    Posted 3 years ago #

    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>
  3. doofalot
    Member
    Posted 3 years ago #

    Thank you.

  4. doofalot
    Member
    Posted 3 years ago #

    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...

  5. JLeuze
    Member
    Posted 3 years ago #

    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;
    	}

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.