Very Simple ways adding Page Number Navigation work 100% for all blogger template

In previouse tutorial, I have taught you about about "how to add page navigation in blogger". But I know that I does work for all blogger template. I came this time to show you one more related topic, which is about "Very simple ways adding page number". I'm sure that it will work for all blogger template. Now, just keep your attention on reading, make sure that don't miss event a single step:
Blogger page navigation

1. Adding CS

1. Go to blogger Dashboard >> Template >> Edit Template
2. Click anywhere inside the code area and press "Ctrl + F" and past the tags bellow:
]]></b:skin> and hit Enter to find it.
3. Now choose one of the style bellow, and past above the ]]></b:skin> tag

Style 1



 #blog-pager{clear:both;margin:30px auto;text-align:center; padding: 7px;}
.blog-pager {background: none;}
.displaypageNum a,.showpage a,.pagecurrent{padding: 3px 7px;margin-right:5px;background:#E9E9E9;color: #888;border:1px solid #E9E9E9;}
.displaypageNum a:hover,.showpage a:hover,.pagecurrent{background:#CECECE;text-decoration:none;color: #000;}
 .showpageOf{display:none!important}
#blog-pager .showpage, #blog-pager .pagecurrent{font-weight:bold;color: #888;}
 #blog-pager .pages{border:none;}

Style 2



 #blog-pager{clear:both;margin:30px auto; padding: 7px; text-align:center;font-size: 11px;background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #000000),color-stop(1, #292929));background-image: -o-linear-gradient(top, #000000 0%, #292929 100%);background-image: -moz-linear-gradient(top, #000000 0%, #292929 100%);background-image: -webkit-linear-gradient(top, #000000 0%, #292929 100%);background-image: -ms-linear-gradient(top, #000000 0%, #292929 100%);background-image: linear-gradient(to top, #000000 0%, #292929 100%); padding: 6px;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;}
.blog-pager {background: none;}
.displaypageNum a,.showpage a,.pagecurrent{padding: 3px 10px;margin-right:5px; color: #fff;}
.displaypageNum a:hover,.showpage a:hover,.pagecurrent{background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #59A2CF),color-stop(1, #D9EAFF));background-image: -o-linear-gradient(top, #59A2CF 0%, #D9EAFF 100%);background-image: -moz-linear-gradient(top, #59A2CF 0%, #D9EAFF 100%);background-image: -webkit-linear-gradient(top, #59A2CF 0%, #D9EAFF 100%);background-image: -ms-linear-gradient(top, #59A2CF 0%, #D9EAFF 100%);background-image: linear-gradient(to top, #59A2CF 0%, #D9EAFF 100%);text-decoration: none;color: #000;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;}
.showpageOf{display:none!important}.blog-pager-older-link, .home-link, .blog-pager-newer-link {background: transparent;}
a.blog-pager-older-link, a.home-link, a.blog-pager-newer-link {color: #fff;}
#blog-pager .pages{border:none;background: none;}

Style 3



#blog-pager{clear:both;margin:30px auto;text-align:center; padding: 7px;}
.blog-pager {background: none;}
.displaypageNum a,.showpage a,.pagecurrent{font-size: 14px;padding: 5px 12px;margin-right:5px; color: #666; background-color:#eee;}
.displaypageNum a:hover,.showpage a:hover, .pagecurrent{background:#359BED;text-decoration:none;color: #fff;}
#blog-pager .pagecurrent{font-weight:bold;color: #fff;background:#359BED;}
 .showpageOf{display:none!important}
#blog-pager .pages{border:none;}


2. Adding Script

1. Now loging to your Blogger Dashboard agian >> Template >> Edit Template
2. Press "Ctrl + F" inside the code area to find the tag below:
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog
3. Just above the tags in step 2 past the following code

<b:includable id='page-navi'>
<div class='page-navigation'>
<script type='text/javascript'>
var pgNavigConf = {
perPage: 7,
numPages: 6,
firstText: &quot;First&quot;,
lastText: &quot;Last&quot;,
nextText: &quot;Next&quot;,
prevText: &quot;Prev&quot;
}
</script>
<script src='https://cambohelpbloggers.googlecode.com/svn/trunk/Page navigation.js' type='text/javascript'/>
<div class='clear'/>
</div>
</b:includable>
4. Now find this two tags
<!-- navigation -->
<b:include name='nextprev'/>

5. Now remove the second line of the tag above and past the following code at the same place which you have been removed previously


<b:if cond='data:blog.pageType == "index"'>
<b:include name='page-navi' />
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<b:include name='page-navi' />
</b:if>
</b:if>

6. Save your Template

Final word

If you don't get the result from this tutorial, you try to do again and make sure you don't miss any step
I will welcome for all of your questions.
Very Simple ways adding Page Number Navigation work 100% for all blogger template Very Simple ways adding Page Number Navigation work 100% for all blogger template Reviewed by Unknown on 3/17/2015 01:41:00 AM Rating: 5

1 comment:

Powered by Blogger.