0

I'm sure it's possible. I know some websites already do the same thing:

Example : Search on Conduit

Type something for search, for example "Hosting" or "Rayban", and look at the first three results. They are AdSense blocks, but with a transparent background !?

How can this be ?

I added a Google Custom Search Element to my website. I already modified the look and feel of the CSE, but I can't modify the look of the ads element since it is inside of an iframe.

Does anybody know how to set-up the style of the ads iframe? I want to put in a background color and change the font.

jacefarm
  • 6,747
  • 6
  • 36
  • 46
Rafik Bari
  • 4,867
  • 18
  • 73
  • 123
  • 1
    However, it might be in violation of the Google Adsense TOS. And I'm not even sure, if the other person is using Adsense. – snuffn Aug 12 '12 at 09:31
  • And a possible duplicate: http://stackoverflow.com/questions/8841818/google-adsense-transparent-background – snuffn Aug 12 '12 at 09:34
  • can you post your site url? I've some ideas but I need to see your code – MCSI Aug 17 '12 at 14:55
  • Possible duplicate of [Google Adsense transparent background](https://stackoverflow.com/questions/8841818/google-adsense-transparent-background) – Hash Jul 10 '17 at 08:16

1 Answers1

0

The last zero in background-color makes the opacity of the color transparent:

ins {
    color: #000 !important;
    background-color: rgba(119, 25, 0, 0) !important;
}
jacefarm
  • 6,747
  • 6
  • 36
  • 46