Closed (fixed)
Project:
Google AdSense integration
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2008 at 05:46 UTC
Updated:
9 Feb 2009 at 20:30 UTC
Is there a way to change the color of the block? I'm using drupal 6.4 and I'm getting a white background for the adsense block (instead of my background color: gray)
Also is there a way to change the position of the ads inside the block? (left, center, right) I will like to replace the drupal search with the adsense search, I placed the block in the header but doesn't look nice at all (since it gets all into the left) what's the best way to achieve this?
Thanks
Comments
Comment #1
kbahey commentedIf you use managed ads, you can change all that from your Google account.
Comment #2
p4c0 commentedYes, stupid me, i just realized that after posting this...
but what about changing the position of the block? for example I want a search block to appear in the upper right corner of my page (similar to drupal's build-in search) what's the best way to do this? add it to the theme? Is there a file that I can modify for this? or .css (someone post about block alignment for drupal 5.4 and the answer was to modify .css, does it works for 6.4? which .css?)
Comment #3
mustardman commentedI am also trying to center the blocks. I read an old post saying to center all you have to do is add:
.adsense {
text-align: center;
}
To you .css file in the theme. I tried that in style.css in garland theme but it didn't work.
Comment #4
jcnventuraJust added some code to center the ads in the block. This will be in the dev version in a few hours.
João