subscribe by Email | RSS Feed

Tuesday, January 6, 2009

Ad Spots

Posted by Brandon on September 6, 2008

Note that the ad images above are positioned using negative margins, which is not supported in old and busted browers like that sorry IE 6.0, but I didn’t worry with a hack. If you want them all on one line in older browsers, you’ll need to do some tweaking. Most users will just delete the ads anyways. To do that, open sidebar.php and delete everything you see below…

<div class="ad-blocks">
<img src="http://egracecreative.com/bible-scholar/wp-content/themes/bible-scholar/images/125-ad.png" />
<img src="http://egracecreative.com/bible-scholar/wp-content/themes/bible-scholar/images/125-ad.png" />
<img src="http://egracecreative.com/bible-scholar/wp-content/themes/bible-scholar/images/125-ad.png" />
</div>

They will magically disappear and your 2 sidebars will rise to the top. Or, if you are ready to insert your own code, leave the

<div class="ad-blocks">

and the

</div>

and put your script in between them.