I need some help with google adsense ads on my site everythingzune.com. I'm having trouble centering the banner ad and text ad in the header. They default to the Left of the page. I'm using the Garland theme. Can anyone help me center this ad?

Comments

drupalnesia’s picture

Simple add an align like this:
<div id="header-region" class="clear-block" align="center">

uniteus’s picture

wow, now that's what i call malicious code. That code didn't work, any other suggestions? Even after I put the /div<>

The Computer Audiophile’s picture

style.css (line 274)

#header-region .block {
display:block;
margin:0pt 1em;
text-align:center;

P.S. Use the firefox plug-in called FireBug and you'll be able to figure this out in about 5 seconds.

uniteus’s picture

how do I get into the css section of drupal? Do I need 3rd party software for this?

uniteus’s picture

Where the heck to I find the css to edit?

mustardman’s picture

That worked for me! Thanks. Firebug is pretty handy for figuring what needs to be changed.

holeepassion’s picture

where do you include it please ?????

thank you

regards

eldrupal’s picture

Thank you for the info.

BTW, adding this:

works just fine.

baseshot’s picture

css injector with this code worked great for me! all without diving under the hood! thanks!

...update... i thought it worked... on Internet Explorer... now im back on my mac with safari and it is not working....