Some people requested that they want the ability to add 125×125 ads to their sidebar like the ones that I have so here it is.
STEP ONE
Add the below CSS to the bottom of your screen.css
/* Ad Blocks
---------------------------------------------------------------- */
.block
{
margin: 0px 0 0;
padding: 0 0 0px;
color: #aaa;
text-align: center;
text-transform: lowercase;
font-family: monospace;
line-height: .8em;
}
.halfblock
{
width:50%;
float:left;
padding:0;
margin:0;
}
STEP TWO
Download and extract, then add these two files to your ads folder (example: themes/thsestars/ads/)
Download here
Alternatively you can just copy the files you have in your stars theme and then rename them ads-125×125right.php and ads-125×125right.php
STEP THREE
Add this code in your sidebar.php where you want the two 125×125 ads to appear.
<!-- 125/125 Ad blocks section --> <li id="asides"> <div class="block"> <div class="halfblock"> <?php include (TEMPLATEPATH . '/ads/ads-125x125left.php'); ?></div><div class="halfblock"><?php include (TEMPLATEPATH . '/ads/ads-125x125right.php'); ?> </div> <div class="clear"></div> </li> <!-- End 125/125 Ad blocks section -->
When adding all of the above you must remember to add your ad spots using the left/right.php files or else nothing else will show up.
Example:
<a href="thelinktoyourad" target="blank"><img src="thelinkwheretheimageisstored" alt="nameofad" /></a>
See the ads in action in my sidebar ————>>>>
Any trouble post below.






































2 Comments
Hi,
This worked fine in IE9 but destroyed the appearance of my sidebar in Google Chrome. Any idea why? It moved everything to the centre, mashed the ads against the Most Rated/Viewed etc box and made everything in the whole sidebar monospace font. Any fixes?
Thanks!
Dawn
This works! thanks mate…2 thumbs up..