Showing posts with label Blogger Tutorials. Show all posts
Showing posts with label Blogger Tutorials. Show all posts

Feb 10, 2014

Customizing Blogger's New Feature - About Author Below Posts

professional author box widget

I always wondered that why Bloggers never draws it's attention towards multi authored blogger blogs. And it's true that blogger was not having about author section in it's default blogs but now blogger has brought this feature in all of it's default templates.

I've already written a tutorial on how to add this widget in your blogger sites.

Before proceeding to this tutorial you must know that that this widget is linked to your Google+ id and it fetch out the description part and name of the author from your Google+ profile. Therefore this widget is very handy, because you don't need to do much of coding and and writing in your HTML editor. (may be beginners would be happy to listen this)

Screenshot of this widget looks something like this

Suryakant sao


Let's Start Implementing

Before implementing it you need to read the first tutorial otherwise there are the chances of making mistakes while implementing it. After you have read the posts open Blogger Dashboard → Template → HTML Editor then search for <div class='post-footer'> 



After that paste the below given code after it

XML

<div class='post-footer-line post-footer-line-1'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<h3 class='abt_author'>About The Author</h3>
<div class='author-profile' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<b:if cond='data:post.authorPhoto.url'>
<a expr:href='data:post.authorProfileUrl'>
<div class='auhtor-image'>
<img expr:src='data:post.authorPhoto.url' itemprop='image' width='100px'/>
</div>
</a>
</b:if>
<div>
<a class='g-profile' expr:href='data:post.authorProfileUrl' itemprop='url' rel='author' title='author profile'>
<span itemprop='name'><data:post.author/></span>
</a>
</div>
<p class='description' itemprop='description'><data:post.authorAboutMe/></p>
</div>
</b:if>
</div>


So you've successfully added the HTML stuff, okay now in this step we'll customize it using CSS.
You need to find this code in your blogger template by pressing Ctrl+F ]]></b:skin>. Now paste the below given code just before it.


CSS

.author-profile {border-top: 1px solid #CCC;border-bottom: 1px solid #CCC;margin: 20px 5px 0 0px;padding: 25px 0 15px;position: relative;}
.author-profile img{border:1px solid #EFEFEF;float:left;margin-right:5px;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}
.author-profile > div > a{color:#444}
.author-profile > div{font-size:14px;font-family:helvetica;margin:0}
p.description{font-size:95%;margin:0;line-height:1.7em}
p.description a{color:#333;font-family:arial rounded mt bold}
a.g-profile{font-size:30px;font-family:brush script std;margin:15px 0 5px}
.auhtor-image img{color:#FFF;margin-right:2%;border-color:#FF6854;border-style:groove;border-width:10px;padding:0}
h3.abt_author{margin: 0;position: relative;bottom: -35px;z-index: 10;background: #FFF;display: inline-block;padding: 0 5px 0 0px;}

After successfully pasting the code save your template and you're done. So this was the simple thing made special using CSS. 
Continue Reading(...)
10 comments

Jan 1, 2014

Customize Navigation Scroll-Bar With CSS3



Have you been searching for any thing which can change the design of navigation scroll-bar of your site. You might be wondering that how is it done? You should smile then, because finally you've arrived at the right place.

Changing the look and design of navigation scroll bar is not a hard task now. It's not hard because it can be customized very easily using CSS3 codes and another reason is I've already prepared a small stylesheet that will customize the look of navigation scroll bar whenever you site is opened.



So Here's the code

CSS

::-webkit-scrollbar-thumb:horizontal{height:10px;background-color:#eab92e;}

::-webkit-scrollbar-thumb:vertical{
width:10px;
background-color:#eab92e;/*box-shadow*/
-webkit-box-shadow:1px 1px 4px rgba(0,0,0,0.16);  
-moz-box-shadow:1px 1px 4px rgba(0,0,0,0.16);       
box-shadow:1px 1px 4px rgba(0,0,0,0.16);
}
::-webkit-scrollbar{
width:15px;
height:15px;
background:#EBEBEB;/*box-shadow*/
-webkit-box-shadow:inset 1px 1px 4px rgba(0,0,0,0.13);  
-moz-box-shadow:inset 1px 1px 4px rgba(0,0,0,0.13);       
box-shadow:inset 1px 1px 4px rgba(0,0,0,0.13);
}


Customize the Color

Replace the codes in yellow color with the any other color codes you want to be displayed in scroll-bar.


Playground For Advanced Learners

Yeah! got it right this is the playground for you by, where you can learn some more advanced things. So what are you waiting for start playing and start learning.







Final Words

Do not forget to show your gratitude by leaving your comments below. And yep this is very small post but I am confident that it has very great content including a mini-playground also for our beginner developers. So play with the codes and start learning the Css thing with me :-)

Continue Reading(...)
14 comments

Dec 9, 2013

Green Lava Threaded Comment Theme For Bloggers

Hey Friends I am back again with the most awaited thing by you all. If you might have read my previous posts on which I have provided a freebie i.e. customized comment theme for bloggers used by trackmyblog itself. But due to lack of time second theme was left as coming soon, but friends really I would have felt bad myself if I kept you waited for long for this simple freebie widget, so soon I completed some left works and then prepared this article for you.




customized threaded comments for bloggers


Comment System 2 : Green Lava

This comment theme has been used in gadget mag, a simple but responsive blogger theme created by me. I have shared it as freebie on our sister site Template Trackers. Well to say about there are lot of things in this theme, but I'll mention important features only here and for the rest of review you will be appointed soon after the end of this para :)

This theme is named as green lava because this theme is painted with green color and with it's shades. Yeah! Green is my favourite color so I've given a touch of greenry in this new theme for blogger comments. This theme is also auto-numbers the nested comments with the help of counter-reset and counter-increment property I've used in the stylesheet of this theme.

Yeah! I know it, now you might be wondering that what is this counter-reset and counter-increment. That's why I've already written in brief on this topic. 

So moving on ahead let's have a look on the screenshot of this comment theme named  Green Lava



threaded comments for bloggers
Screenshot
Click on the image to see live demo of the comments.

So I must stop talking now about this theme and let me show you the stylesheet code of this comment theme.


Here's The Code

Css

/*====================
Green Lava Comment Theme
======================*/
.comments {padding: 30px 1em 0;clear: both;margin: 0 1em 1em;background: #FFF;border: 1px solid #DADADA;}
.comments ol{list-style:none;counter-reset:trackit}
.comments ol li {list-style:none;counter-increment:trackit}
.comments ol li:before {
content: counters(trackit,".");position: absolute;right: 1.5em;color: #6CB61A;font-size: 24px;background: rgba(133, 206, 53, 0.4);border-radius: 50%;-moz-border-radius: 50%;
padding: 1px 9px;}
.comments .comments-content .comment-replies .comment-thread ol li:before {
content: counters(trackit,".");position: absolute;right: 2.5em;color: rgba(1, 111, 1, 0.34);font-size: 24px;
background: rgba(0, 0, 0, 0);
border-radius: 0%;-moz-border-radius:0%;}
.comments h4 {  font-size: 25px;  line-height: 30px;  padding: 0;  text-transform: capitalize;  }
.comments .avatar-image-container {float: left;max-height: 65px;overflow: hidden;width: 65px;max-width: 65px;}
.comments .avatar-image-container img {max-width: 65px;max-height: 65px;min-height: 65px;min-width: 65px;}
.comments .comment-block {margin-left: 5em;position: relative;word-wrap: break-word;}
.comments .comments-content .user {font-style: normal;font-weight: bold;background: #85CE35;padding: 1px 5px;font-size: 14px;}
.comments .comments-content .user a {
color: #FFF;}
.comments .comments-content .icon.blog-author {display: none;}
.comments .comments-content .datetime {margin: 0;background: rgba(133, 206, 53, 0.25);padding: 1px 5px;font-size: 14px;}
.comments .comments-content .datetime a{color:#6CB61A}
.comments .thread-toggle {
display: none;}
.comments .comments-content .comment-header {margin: 0 0 8px -2em;overflow: overlay;position: relative;}
.comments .comments-content .comment-replies .comment-thread ol li {border-top: 2px solid #86B15E;border-bottom:0px!important;background: rgba(100, 201, 22, 0.1);padding: 10px;}
.comments .comments-content li.comment {
border-bottom: 2px solid #86B15E;
}
.comments .comments-content .comment:last-child {border-bottom: 2px solid #86B15E;padding-bottom: 0;
}


Listen Now

Dear readers you  have to copy and paste this code before ]]></b:skin> in your blog's template.

  • For this open your Blogger dashboard→ Template → Html editor
  • Now by pressing Ctrl+F search for the above highlighted code and paste the stylesheet of the comment theme just before it. 

After adding the code save the template and see the whole new theme installed to your blogger template.



Final Thoughts

Friends as we all know that we need support from others and so we also support others so that we can stand together to help each other, with what we have got special with us. So please show us your respect by leaving your valuable comments below in comment box. With your love we will able to perform well as we will get recognized by more and more peoples. 

Friends as I have mentioned that this is a freebie so you can share this comment theme in your respective blog's but do not forget to give proper credit to us. We want you to respect the time consumed while creating this themes for blogger users.
Continue Reading(...)
15 comments

Dark Sun : Trackmyblog Style Threaded Comment System

custom styled threaded comments
Blogger has updated it's old one level comment system into nested levels comments by bringing threaded comments on which I've already written a post, but problem with the default blogger comment system is that it doesn't provides you good designs like that of disqus, comment-luv etc.

And for the design lovers like me, this can't be expected straightly, because I simply believe that a good design is the only thing which represents your personality. So, keeping this fact in mind I have coded a few stylesheets which will re-invent your old class blogger comment system into a whole new comment system giving it an elegant feel.





Comment System 1

This comment system is given a nick name of Dark Sun, as it is the default comment system stylesheet used by trackmyblog.com. Css2 counter-increment property has been used to auto number the comments you receives and you'll also find that when blog's author post any comment then font-color of his name is changed which give him a good presence among the crowds.

Here is the screenshot of the comment system which you'll get after implementation of stylesheet on your blog.

trackmyblog style comments
Screenshot


Here is The Stylesheet Code!

  • Open Blogger dashboardTemplateHtml Editor
  • Now search for ]]></b:skin> 
  • Now copy and paste the below given css code in before the skin code

Css

/* Drak Sun http://www.trackmyblog.com style blogger threaded comments */
#comments{background:#FFF;border:1px solid #dcdcdc;padding:20px}
#comments h4{font-size:28px;color:#414141;line-height:2em}
.comments ol li:before{content:counters(trackit,".");font-size:3.5rem;color:rgba(0,0,0,0.16);right:.3em;position:absolute;text-shadow:1px 1px 1px #FFF;padding:.2em 0 0}
.comments ol li{counter-increment:trackit}
.comments ol{counter-reset:trackit}
.comments .comments-content .comment-content{text-align:justify;border:1px solid #e1e1e1;margin-left:-40px;margin-top:35px;padding:20px}
.comments .comments-content .comment-header{width:58%;position:relative;margin:10px 0 0;padding:0 25px}
.comments .comments-content .user{font-style:normal;font-weight:400;color:#414141;font-size:20px}
.comments .comments-content .user a{color:#414141;font-family:impact, arial, sans serif}
.comments .comments-content .user.blog-author a{color:#4085FD}
span.datetime.secondary-text a{color:#b9b9b9;font-style:italic}
.comments .comments-content .datetime{color:#616161;fontsize:12px;display:block;margin:0}
.comments .comments-content .comment-thread ol{list-style-type:none;text-align:left;margin:0;padding:0}
.comments .comment .comment-actions a{padding-right:5px;padding-top:5px;text-decoration:none;text-align:right}
.comments .continue a{display:none!important}
.comments .avatar-image-container img{max-width:60px;max-height:60px;width:60px;height:60px;z-index:1;float:left}
.comments .avatar-image-container{float:left;max-height:60px;height:60px;overflow:hidden;width:60px;max-width:60px;border-radius:0 50% 50% 50%;-moz-border-radius:0 50% 50%;-o-border-radius:0 50% 50% 50%;border:1px solid #dcdcdc;background:#fff}
.comment .comment-replies .comment{border-top:5px solid #414141;border-left:3px solid #f5f5f5;border-right:3px solid #f5f5f5;background:#f5f5f5;padding:10px}
.comments .comments-content .comment-replies .comment,.comments .comments-content .comment-replies .comment:first-child,.comments .comments-content .comment-replies .comment:last-child{margin:0;padding:1em}
.comments .comments-content .comment:last-child,.comments .comments-content .comment:first-child{padding-top:5px;padding-bottom:5px;list-style:none;position:relative}
.comment-thread.inline-thread .comment-content{background:#fff}
span.item-control.blog-admin,.comments .thread-toggle{display:none}
#comments .comment-actions.secondary-text,.comments .comment .comment-actions a:hover{text-decoration:none}



  • After adding the code save your template, and view the comment system.
  • Congratulations! you have successfully added customizations to your blogger comment system.

Final Words

Hey! friends if you liked this blogger freebie provided by trackmyblog team, then don't forget to share it with your friends. I am very eager to hear you, so do tell us your words about this widget provided here at trackmyblog. See you soon with next customizations so stay tuned to grab new theme for your blogger comments
Continue Reading(...)
3 comments

Nov 30, 2013

Numbering Blogger Comments Using Counter-increment Property

numbering blogger comments
Css property counter increment is very handy property, because you can do magic with it like auto numbering sections, divs, list etc. Counter increment is used along with counter reset property. Today we will see some interesting use of it in your blogspot sites.

Beginning the tutorial, let us see how can we use counter increment property to number the comments in your blog. I will detail how to use this property and finally achieve result like this one displayed below.

screenshot of blogger comments
Screenshot

Step#1

Setting up the counter.
First of all you need to reset the counter at it's base value or I must say you will have to set in the parent element inside which those elements are present which are to be numbered. And this can be done by counter-reset property.

Here we are going to add counters to comments, after seeing the html structure of blogger comments, I found that parent element to which counter-reset property is to be added is ol, means comment are present in the form of lists.

So I added following code given below first in Html editor of my template. You can name the counter-reset with any name, for a case here I've used trackit, you can use any another name also but remember it must be same in counter-increment property also


CSS

.comments ol {
counter-reset: trackit;
}


Step#2

Now incrementing the counter
Now you will have to need to increment the counter. You have this property in the element where counter is be achieved. Like we want to achieve counters in all comments so I have incremented counter in lists in this step see the css code below


CSS

.comments ol li {
counter-increment: trackit;
}


Step#3 : Final Step 

In this step we will call the counters using pseudo-property :before, observe the code carefully below


CSS

.comments ol li:before {
content: counters(trackit, ".");
font-size: 3.5rem;
color: rgba(0, 0, 0, 0.16);
right: 0.3em;
position: absolute;
padding: .2em 0 0 0;
text-shadow:1px 1px 1px white
}


Overall

Overall the whole code looks like this


CSS

.comments ol {
counter-reset: trackit;
}
.comments ol li {
counter-increment: trackit;
}
.comments ol li:before {
content: counters(trackit, ".");
font-size: 3.5rem;
color: rgba(0, 0, 0, 0.16);
right: 0.3em;
position: absolute;
padding: .2em 0 0 0;
text-shadow:1px 1px 1px white
}


Beginners Copy Paste The Code

Beginners must simply copy paste the final code given just above by following the instructions mentioned below.

Open Blogger dashboardTemplateHtml Editor
and search ]]></b:skin> (by pressing Ctrl+F)

Now paste the copied code just before it and save your template and then view your blogs comments.
Continue Reading(...)
2 comments

Nov 29, 2013

2 Ways to Integrate Google+ with Blogger Posts

Google+ recommendations
Blogging without social media is out of imagination today, so it becomes necessary for you to promote your contents top social media. And social media share plugins are going to do this work for you. But to know it there are many social media platforms present, but popular and effective among all them are facebook, twitter, stumble upon, and Google+. Among all the above mentioned Google+ is most simple, it's because both Google+ and Blogger are owned by Google so both gets integrated easily.

Today in this tutorial our focus will be on integrating your blog posts properly with Google+ platform. And this can be done in two ways

Way#1

Simple way, you don't need to add any codes, all you need to do is 
login to your blogger account → Blogger dashboard → Layout
and open Blog posts

google+ for Blogger
Screenshot
Now click on edit on lower-right section. And activate it from there

simple way to add google+


Way#2

Advanced Way is not really advanced, it is also easier method if you follow below given instructions. In this method only Google plus button will be displayed in your blog's posts.

Open Blogger DashboardTemplateHtml editor and search for </body> and add the below given code just before it. (You will find body tag in the extreme bottom of your blogger template)

Javascript

<script type="text/javascript">
  window.___gcfg = {lang: '<data:language/>', parsetags: 'onload'};

  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>


Now to activate google+ button, search following code in your blog's template
<b:includable id='post' var='post'>
now scroll below in this section searching for
<div class='post-footer'> and add below given code just post-footer section.


Html

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='float: none;'>
<div class='g-plusone' data-size='tall' data-annotation='bubble' expr:data-href='data:post.canonicalUrl'></div>
</div>
</b:if>


Customization of Button
Google+ button provide 4 types of standard sized for G+ button. They are

  1.  small 
  2.  medium 
  3.  standard 
  4.  tall 
Now what you have to do is, if you want medium button then in Html code find data-size='tall'. And replace tall with medium or other size you want.

After customizations save the template and view the result in your blog's post pages.
Continue Reading(...)
Leave a Comment