An author box below every blog post is one of the must have widgets for blogger which shows the author bio to blog readers. This little author box does amazing things to one's blog. It increases the credibility and trust of an article and people are always curious to know who on the earth has written this article I am reading right now.
You might have seen this author box appearing below every post on every other popular blog. If you're not using it, you're really missing something important. It's never too late so in this tutorial, I have designed a new responsive author box with three major social buttons to which I am using on this blog itself so you can see the live demo of it in action, just scroll down to the bottom of this post. If you liked it, then let us proceed toward its installation on your blog.
You might have seen this author box appearing below every post on every other popular blog. If you're not using it, you're really missing something important. It's never too late so in this tutorial, I have designed a new responsive author box with three major social buttons to which I am using on this blog itself so you can see the live demo of it in action, just scroll down to the bottom of this post. If you liked it, then let us proceed toward its installation on your blog.
Note: You can share this code on your blog ONLY if you provide a working link back to this original post from your blog post on which you shared my code. Fair deal, right? We should respect copyrights and hard work of others'. Play safe.
Below is the live demo of this social multi-author plugin:
Installation Process For Author Box CSS | Part-1
Let us begin with boring steps as usual :) and you can't skip any one of them lol.Step 1) Just go and login to your blogger account
Step 2) Your Blog >> Template >> Edit HTML
Step 3) Let the template code box load and after loading, click anywhere inside the template code box >> Have backup of your blog template first
Step 4) Press Ctrl+f on Windows OS and Cmd on Mac OS to open a search box inside
Step 5) Find this little piece of code
]]></b:skin>
Step 6) Now paste the whole CSS code given below just before this code
/***** Author-Box CSS By TwistBlogg.com*****/
#Author-box-outer {
background: #FFFFFF; /*----- background color code -----*/
border-top: 10px solid #00bdff; /*----- top border -----*/
padding: 16px 10px 16px 10px;
overflow: hidden;
margin: 20px 0px 15px;
box-shadow: 0px 7px 14px -12px #000;
}
.author-box span2 {
color: #000000;
border-bottom: 4px solid #00bdff;
font-weight: normal;
}
.author-box {
float: left;
overflow: hidden;
padding: 0px 15px 5px 0px;
font-weight: 100;
width: 54%;
display: block;
border-right: 1px solid #ddd;
}
.author-box img { /*----- Author Image Style ------*/
border: 2px solid #000;
background: #000000;
float: left;
margin: 5px 10px 0px 0px;
border-radius: 50px;
padding: 2px;
}
.author-box-social {
float: right;
text-align: left;
width: 40%;
overflow: hidden;
padding: 0px;
}
.intro-style { /*---- Author bio text Style -----*/
text-align: left;
font-family: sans-serif;
color: #333;
font-size: 13px !important;
margin-top: 5px;
margin-left: 0px;
}
.author-box p { /*---- Author Name Style ----*/
margin: 0;
padding: 0px 0px 2px 0px;
color: #3F3F3F;
}
.author-box span {
border-bottom: 4px solid #000000; /*--- border below author name ---*/
color: #000000;
text-shadow: none !important;
}
/**Twitter BTN Box For Admin**/
.twitter-btn {
height: 25px;
border-radius: 2px;
max-width: 100%;
box-sizing: border-box;
position: relative;
background-color: #00acee!important;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dedede));
background-image: -moz-linear-gradient(top, #fff, #dedede);
background-image: -o-linear-gradient(top, #fff, #dedede);
background-image: -ms-linear-gradient(top, #fff, #dedede);
background-image: linear-gradient(top, #fff, #dedede);
border: #ccc solid 1px;
color: #333;
font-weight: 700;
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
cursor: pointer;
overflow: hidden;
display: inline-block;
vertical-align: top;
zoom: 1;
text-decoration: none
}
.twitter-btn:hover {
text-decoration: none
}
.twitter-btn i {
width: 21px;
height: 16px;
left: 4px;
margin-top: -6px;
position: absolute;
top: 50%;
background: rgba(0, 0, 0, 0) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAoCAYAAABq13MpAAAGcklEQVRYw+2YXUyTVxjHz4vJLiZGd7MtXi2LkZtdELM7lyzOG7Nk2RJvl8iujBiNV2JcMA0fwqCFEGCAfJRC+SyltqWFgnwUlIKAWB3yOVrAttQWC1ZCOi6ePc8LL74tVD6ly2KTf87J6Tnv+3uf8zzP+WAAwEhMIj8h1MViEs0Jlqi+we5oJFjGCX3D9X+fmKTmq/f/rzkRlX5fzkmNPhLVqW2DQ1Ify9eFAZ8kafUsURMX+qCo1BYry3oILKcfmLQb2N3Wzqhk48xn6YbLuwJO1cQeydAvURkWONtk5UoGg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BKJVKqK6uhsrKSigrK4Pi4uLA48eP4yMO3dfXZyovLweCzMjIWCT4e/fuySsqKkCtVkNjYyNf1tXVwdjY2K7PiB8EurS01FpTUwO1tbVA8AgM2MZDErAgsvgez4gHD22325UqlWqVrEmqr6/nJVhZsDSW/v288NatW++9sFkPcjm6po9EdcFdqbx9+3Zs0LbUYrGMazSaVbFlxcKPgqGhIfNegfGlsRjwS1SGA6bAz8/P52eZRHV0Vyu5KyUA9IIrQYMGBwfT9Xr9kti6YivrdLr9nBEZBvHNvLw8ykIEvunCRiaTJRQVFQG5aUNDAy+qU/CTuyLwWyyNm86IDoejsaOjwxPqFkaj0b+8vLyvMyIaJV6hUPAxk5OTA2g5DcJvuAvOZD1lqtB30wxTbLW1tfEXNhvTkpSUJM/MzPQJKY6+UhjU3d3tWgfe75HrVE9PzxzFCr2jsLAQpFIppdlh/ABJVVXVECWCrWYZPcAfesPEnxHRyube3l4b5mAbWsU2ir/FxcUDOyOiv8ahpb0UN0L6pJRaUlIC5BY0A2TVUGgyII5xRuSM6Ha7LyJkgMDEuV+YfnG7WDQzDx48sERqwxTtdDrNFB9bwYUTBSNO+p2I7fImJyfPoF8PNTc37wic+hgMhqALm0isaNEIY6KVdSfQ5BoTExOq/8J++ioFOAV7S0tLWItTOyWF0AubiO0fMOjO42JlwgAMhFvMMJNteWFzqKC0j8Cc3Il7cR/t0SnVUZCFLiaYk1empqbCXtgctoUTcO+iQ5eYRUuv0EJCOZhAtVrtaldXl2dkZGTbC5tIuMa+L2z+BexZXK+OBaruAAAAAElFTkSuQmCC) 0 0 no-repeat;
background-position: -24px 0
}
.twitter-btn .label {
padding: 0 7px 0 29px;
white-space: nowrap
}
Editing: To edit the CSS code and change its colors, I have provided proper comments so that you know what you're editing while doing it. You can almost change anything like text size, color, background, width, image style etc.
Installation Process For Author Box HTML | Part-2
Find out this code line
<div class='post-footer-line post-footer-line-3'>
and paste this HTML code given below after editing it as needed just after this code line.Note: If you're unable to get me then please do comment and I'll help you manually.
<b:if cond='data:blog.pageType == "item"'>
<div id='Author-box-outer'>
<div class='author-box'>
<b:if cond='data:post.author == "Aman Bhattarai"'> <!-- Multiple author option -->
<img alt='Author' class='avatar avatar-78 photo' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjyQaxa3qiuCsM4sq4XjkGU29CFcvFoee-cOqOduYzqjVYH5QnxUOSrijVpw_CTYOSXeFmXfYqPD8BR_S2oFNxMbN3gzd_0AUda0CbdYkZq9-ftj5cxf-C2TSIR3EsQBY-zsuI-Gww8FCr/s1600/aman-bhattarai.jpg' />
<p><span>Article By: <span2>Aman Bhattarai</span2></span></p>
<div class='intro-style'>
I manage this blog and post tutorials related to Blogger, SEO, Plugins, Widgets, Software Tools, CSS/HTML and Social Media. Did you find this blog helpful? Would You Please Socialize? Thanks for Your Support Buddy :)
</div>
</b:if>
</div>
<div class='author-box-social'>
<div style='padding-bottom:0px !important; font-size: 11px !important;'>
<a class='twitter-btn' href='https://twitter.com/intent/follow?screen_name=twistblogg' target='_blank' title='Follow @AmanBhattarai on Twitter'>
<i/>
<span class='label'>@AmanBhattarai</span>
</a>
</div>
<br/>
<div style='padding-bottom:0px !important;'>
<div class='fb-like' data-action='like' data-href='https://www.facebook.com/twistblogg' data-layout='button_count' data-share='true' data-show-faces='false' rel='nofollow'>
</div>
</div>
<br/>
<div style='padding-bottom:0px !important;'>
<!-- Add More Social Networks Here (Optional). -->
</div>
</div>
</div>
</b:if>
Editing: In the above HTML code, I have highlighted everything you need to change before saving your template so do the changes step by step :) Here is the list of things you need to change so make sure you did it.1) Author Name
2) Author Image
3) Again Author Name
4) Author Bio
5) Twitter User Name
6) Facebook Page URL
Making It Responsive - Optional Step
Are you using a responsive blogger template? Then this step becomes necessary lol. Don't worry, I have done all the work for you and if you're not sure, just re-size your browser window and see the author box on this blog. It changes accordingly to the screen sizes.
What you need to do is just add the responsive styles to CSS3 @media Query in our template. So just add these styles accordingly.
@media only screen and (min-width:980px) and (max-width:1089px) {
.intro-style {
margin-left: 92px;
}
}
@media only screen and (min-width:768px) and (max-width:979px) {
.author-box {
padding: 0px 0px 0px 0px;
width: 52%;
}
.author-box img {
margin: 5px 5px 0px 0px;
padding: 2px;
}
.intro-style {
margin-left: 0px;
}
.author-box-social {
width: 47%;
padding: 0px;
}
}
@media only screen and (min-width:480px) and (max-width:767px) {
.author-box {
padding: 0px 0px 10px 0px;
width: 100%;
margin-bottom: 10px;
border-bottom: 1px solid #ddd;
border-right: 0px;
}
.author-box-social {
width: 79%;
padding: 0px;
}
}
@media only screen and (max-width:479px) {
.author-box {
padding: 0px 0px 10px 0px;
width: 100%;
margin-bottom: 10px;
border-bottom: 1px solid #ddd;
border-right: 0px;
}
.author-box-social {
width: 100%;
padding: 0px;
}
}
Final Note: If you're not using a Responsive Blogger Template, you do not have to do that. Your responsive template might be using different sizes so add these styles accordingly or else you can just copy and paste. That is it in this tutorial.
Did you face any problem? Just ask me in comments for any help, I'll assist you as soon as you ask or contact me via the contact us page. Stay safe, stay blessed.