How to Wrap Text Around Google Adsense Ads in WordPress without any Plugins

Google Adsense Ads are widely used by many bloggers particularly those who make use of WordPress. Many webmasters prefer to wrap text around Google Adsense for high Click Through Rate (CTR).

You can easily do this using float attribute inside <div> tag either directly or inherited from a CSS file as shown below. You have to substitute the publisher ID, Channel ID, Width and Height after generating the adsense code.

Wrapping Text to Left Side of the Content

<div style=”float:left”>
<script type=”text/javascript”><!–
google_ad_client = “pub-“;
/* side_1 */
google_ad_slot = “”;
google_ad_width = 250;
google_ad_height = 250;
//–>
</script>
<script type=”text/javascript”
src=”
http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div>

Wrapping Text to Right Side of the Content

<div style=”float:right”>
<script type=”text/javascript”><!–
google_ad_client = “pub-“;
/* side_1 */
google_ad_slot = “”;
google_ad_width = 250;
google_ad_height = 250;
//–>
</script>
<script type=”text/javascript”
src=”
http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div>

As you can see, it is easy to wrap text around Google Adsense Ads. I hope you find this article interesting and useful.

Leave a Comment