Showing posts with label blogger. Show all posts
Showing posts with label blogger. Show all posts

Thursday, August 23, 2012

How to customize default AdSense ads style in Dynamic view on Blogger

I tried to find some solution of How to customize default AdSense ads style in Dynamic view on Blogger, but it seems that there is still no solution for it. Now you could see it just like on this image below:


Even you could chose the content for these ads between images/text you can't change its style according to colors of your template!

So I will keep going to search for the answers and will update this post when I'll find them. Cheers!

How to insert AdSense advertising in the middle of your post on Blogger

If you want to insert AdSense advertising in the middle of your post on Blogger do this: 

1. Find in your template (you must check Expand Widget Templates in Blogger console) the tag <data:post.body/> and replace it with this snippet of code:


<div expr:id='"aim1" + data:post.id'></div>

<div style="clear:both; margin:10px 0">
<!-- Your AdSense code here -->
</div>

<div expr:id='"aim2" + data:post.id'>
<data:post.body/>
</div>

<script type="text/javascript">
var obj0=document.getElementById("aim1<data:post.id/>");
var obj1=document.getElementById("aim2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) 
{obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>

2. Replace highlighted line with your AdSense code.

For more information read these articles:
http://adsinthemiddle.blogspot.com
http://tips-for-new-bloggers.blogspot.com/2007/05/adsense-code-in-blogger-post-body.html

Monday, November 7, 2011

How to add CODE block to Blogger post

If you want to add some code snippet to your post on Blogger just copy code snippet you need and go to this site http://www.simplebits.com. It has tools that will configure your snippet  (it will change some signs).


Tuesday, October 25, 2011

How to login to the new Dynamic view of Blogger

I've changed view of my blog iPaniov.blogspot.com for a new dynamic view which I really like it, but there is no way to login. I spent some time until I understood that this view is for READERS only, so this why there is no login form. So in order to login to your blog on bloodspot.com you should go to the Blogger.com and do login there. Only this way you will be able administrate your blog.

I think there is the lack of clarification about this from the part of Google.