Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: TheGamer on June 17, 2005, 03:22:36 PM

Title: Google Adsense Colors
Post by: TheGamer 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. (http://forum.gamerunlimited.com) Enjoy!

TheGamer

<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>
Title: Re: Google Adsense Colors
Post by: dtm.exe on June 17, 2005, 03:35:27 PM
Nice tip :).

-Dan The Man
Title: Re: Google Adsense Colors
Post by: TheGamer 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