Advertisement:

Author Topic: Google Adsense Colors  (Read 18697 times)

Offline TheGamer

  • Sophist Member
  • *****
  • Posts: 1,040
  • Gender: Male
Google Adsense Colors
« on: June 17, 2005, 03:22:36 PM »
Simply put this javascript in your page directly above where the Google Ad shows. Edit colors in the script, by changing the hex value. Right now the colors are set up for my forum. You can see a preview here. Enjoy!

TheGamer

Code: [Select]
<script type="text/javascript"><!--
google_color_border = "C6D6DE";
google_color_bg = "C6D6DE";
google_color_link = "005177";
google_color_url = "005177";
google_color_text = "005177";
//--></script>

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: Google Adsense Colors
« Reply #1 on: June 17, 2005, 03:35:27 PM »
Nice tip :).

-Dan The Man

Offline TheGamer

  • Sophist Member
  • *****
  • Posts: 1,040
  • Gender: Male
Re: Google Adsense Colors
« Reply #2 on: June 17, 2005, 03:55:40 PM »
Thanks! It comes in handy for changing the color of the ads if the remotely hosting place has em on there, but PLEASE note that you should talk to the owner/admin of the hosting site that places the ad on your pages, because it could be against their TOS to change the colors, thus making it not as visible. So, use this script at your own risk. :)

-TheGamer