Align ads is very simple but blogger sometime face trouble that they can't align their ads according to their desire. Often blogger has to align not only the Google Adsense but also from the alternatives of Ads. So I am just sharing with you a simple trick to align your ads in Left, Right or Center. And it will also manipulate your earnings from the ads. And remember before using your AdSense code it must be Parsed by HTML Encode.
For example we will show the AdSense below or end of the post. For this reason just follow the below steps.
Step 1 Now Click on Template ->Edit HTML
Step 2 Click on Now click on -> Template -> Edit HTML-> Unfold code ►
Step 3 Now find <data:post.body/> by pressing Ctrl + F
Note: You will find 3/4 time this code go for second one
Step 4 Now Paste your AdSense Code Above or After the above code.
Note:
- If you paste the AdSense code above/before <data:post.body/> then your ads will shows below Every Post Title.
- If you paste the code after <data:post.body/> code then AdSense will show end of every posts.
How to Adsense Ads Align Left Side
If you want to show your Google Adsense ad below post tile in blogger in the left side then copy the code shown below
<div style="float: left; margin: 10px 10px 10px 0;">
YOUR ADSENSE CODE HERE
</div>
How to Adsense Ads Align Center
If you want to show your Google Adsense ad below post tile in blogger in the center then copy the below code
<div style="text-align: center; margin: 10px 0 10px 0;">
YOUR ADSENSE CODE HERE
</div>
How to Adsense Ads Align Right Side
If you want to show your Google Adsense ad below post tile in blogger in the right side then copy the code shown below
<div style="float: right; margin: 10px 0px 10px 10px;">
YOUR ADSENSE CODE HERE
</div>
Note:
- First Convert the Adsense Code into the Compatible Mode from Here
- Replace YOUR ADSENSE CODE HERE with your converted code.
Simple Method to Align Adsense Ads Left, Right and Center
There has also simple method you can use it the above code doesn't work. Just follow the below sample to make it work..
- For Left align <left>YOUR ADSENSE CODE HERE</left>
- For Centering <center>YOUR ADSENSE CODE HERE</center>
- For Right align <right>YOUR ADSENSE CODE HERE</right>
No comments:
Post a Comment
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. Make sure to click the "Subscribe By Email" link below the comment to be notified of follow up comments and replies.
2. Please "Do Not Spam" - Spam comments will be deleted immediately upon our review.
3. Please "Do Not Add Links" to the body of your comment as they will not be published.
4. Only "English" comments shall be approved.
5. If you have a problem check first the comments, maybe you will find the solution there.