1 reply [Last post]
JoeTaxpayer
JoeTaxpayer's picture
Offline
newbie
Last seen: 9 years 6 days ago
Timezone: GMT-5
Joined: 2013-01-22
Posts: 1
Points: 2

I am tinkering with a Wordpress blog before applying a new theme to my regular site. The 'sandbox' site is FM2.info and I am trying to understand how to adjust the image up top.

Note, the 'test image' is loaded as background, and the small ad is loaded as header.

<div align="right">
<div id="header_banner">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxx";
/* Header Ad */
google_ad_slot = "xxxxxxxx";
google_ad_width = 728;
google_ad_height = 90;
//--> 
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php }
</div>

I was able to add that first line of code telling the ad to be right-positioned. Now, I'm asking - if I'd like to pull it left a bit, say 5-10pixels, and up a bit to center up/down, how would I do that?

Forgive my ignorance, The theme is Thesis 2.0, and they are helpful to a point, but for this issue, not so much. At the Wordpress forum, I was led here as this issue is less about WP than it is about CSS. I hope the question is clear, and any help is much appreciated.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 3 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

You can try using left/top

You can try using left/top offsets to move it, negative values to pull left and up

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me