How To Make Text Link Ads Match Your Site Perfectly

Text Link Ads are fast becoming the second most used tool by bloggers hoping to cover their hosting costs after Google Adsense. They offer a reasonable amount of controls over what colours and size your ads should be, but it can still be hard to make the ads match your site. Even though the link colours may match, your font sizes or your hover/visited colours won’t. Also, on my site the links had some weird spacing between them.

Here’s a quick fix I found which has worked perfectly on my sites and will make your Text Link Ads match your site even if you change themes or styles.

All you have to do get your Text Link Ads to match your site is the following:

  1. Open up the plugin in your favourite editor
  2. search for ‘function outputHtmlAds
  3. Replace whatever you have within this function for ‘foreach($this->ads as $ads) {‘ with the following code

foreach($this->ads as $ads) {
echo “<li style=”font-size: 1em;”>”.$ads->before_text.” <a href=”".$ads->url.”">”.$ads->text.”</a> “.$ads->after_text.”</li>\n”;

Now your ads should blend in better with your site. I hope this tip works for you Let me know if you’ve found this tip useful.

If you’re not using Text Link Ads yet, I really think you should give it a go. The ads are really unobtrusive and they are great at selling links which normally are relevant to your site – on my site they’ve consistently sold at least 9 of my 10 links. If you’re interested Signup here.