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

kbahey’s picture

Status: Active » Postponed (maintainer needs more info)

If you use managed ads, you can change all that from your Google account.

p4c0’s picture

Yes, 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?)

mustardman’s picture

I 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.

jcnventura’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

Just added some code to center the ads in the block. This will be in the dev version in a few hours.

João

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.