PDA

View Full Version : Google ad inclusion into the CSS?



Black Angel
08-28-2007, 05:45 AM
Hi I was wondering if this would be possible in the future?

The reason I ask is because I would like to have the google ads match the skin on my list.

I have a forum on IF where this is possible and it doesn't interfere with the ads display at all..

here is an example..

http://img171.imageshack.us/img171/5681/googleexamplefa8.th.png (http://img171.imageshack.us/img171/5681/googleexamplefa8.png)

Thanks in advance for the help.

Scott
08-28-2007, 02:45 PM
Actually that is a great suggestion and it is somthing I have been wanting to look into for a while. I will get on that and let you know what I find out.

When you change colors in your css with that other site, do the colors of the google ad change?

Black Angel
08-28-2007, 04:09 PM
Actually that is a great suggestion and it is somthing I have been wanting to look into for a while. I will get on that and let you know what I find out.

When you change colors in your css with that other site, do the colors of the google ad change?
Thanks. 8)

And yes, the only thing that remains the same are the images.

But the text links, and the text do change.


.googleroot { padding:6px; line-height:130% }
.googlechild { padding:6px; margin-left:30px; line-height:130% }
.googlebottom, .googlebottom a:link, .googlebottom a:visited,

.googlebottom a:active {

font-size:11px; color: #0063ff; }
.googlish, .googlish a:link, .googlish a:visited, .googlish a:active {

font-size:14px;

font-weight:bold; color:#0063ff; }
.googlepagelinks { font-size:1.1em; letter-spacing:1px }
.googlesmall, .googlesmall a:link, .googlesmall a:active, .googlesmall

a:visited {

font-size:10px; color:#0063ff}

These are the settings used on my forum for my skin. As you can see, from the code, and the screenshot in my first post, that the link colors, use the same color I've specified for the links on my toplist. and any normal text that shows up in the ad, will use the same color as the text, or the site descriptions, in the topsite. I'm not sure as to whether or not the CSS for the ads on our list look the same.

Scott
08-28-2007, 05:08 PM
Can you give me the URL of your forum?

Black Angel
08-28-2007, 07:36 PM
It is in my profile, but here it is. 8)

http://h-c.sytes.net/

this is the link to my beta.

http://ffsx.sytes.net/

If you look at the bottom, there is a skin changer where you can change the skin, while doing so, you'll see that the ad changes with each skin.

Scott
08-28-2007, 07:44 PM
I'm thinking that invision free has an advanced adsense account which gives them more features than we have. We can't edit our adsense code with css at all. It is against their TOS for us to even try to do that. I have an email in to them to see if that is in fact the case, and if there's anything I can do about it.

Scott
08-29-2007, 09:54 PM
I got a go-ahead from Google to try and do this. I just have to figure out a good way to do it and then run it past them.

Black Angel
10-19-2007, 11:52 PM
Thanks for the addition, I got back from vacation, and got a pleasant surprise. 8)

Scott
10-20-2007, 04:55 AM
No problem :)