In this tutorial, I'll show you how to add smileys or Emoticons in blogger comment box; just like the Facebook and Whatsapp Emoticons.
Carefully follow the steps below, and you'll successfully add Smileys/Emoticons in your blogger comment box.
* Login to your blogger dashboard
* Select Temlates/Themes -> Edit Html
* Search for </body> in the template by pressing CTRL F
* Copy and paste the code below above the </body> tag
Note: Add one space before placing the code above the </body> tag
* Now search for </head> tag and place the below code above it
* Finally click Save Template
That's all, now you have successfully added Smileys/Emoticons to your blogger comments box. To get more amazing tutorials, subscribe to our newsletter below the page.
Carefully follow the steps below, and you'll successfully add Smileys/Emoticons in your blogger comment box.
* Login to your blogger dashboard
* Select Temlates/Themes -> Edit Html
* Search for </body> in the template by pressing CTRL F
* Copy and paste the code below above the </body> tag
<b:if cond='data:blog.pageType == "item"'>
<script type='text/javascript'>
//<![CDATA[
jQuery(document).ready(function () {emoticonx({
emoRange:"#comments p, div.emoWrap",
putEmoAbove:"iframe#comment-editor",
topText:"Click to see the code!",
emoMessage:"To insert emoticons you must add at least one space before the code."
})
});
//]]>
</script>
<script src='https://boyz.googlecode.com/svn/JS/
emoticonnya.js' type='text/javascript'/>
</b:if>
Note: Add one space before placing the code above the </body> tag
* Search for ]]></b:skin> and place the below code immediately above the tag
.emoWrap {
position:relative;
padding:10px;
margin-bottom:7px;
background:#fff;
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(right, #FFFFFF
0%, #FFF9F2 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(right, #FFFFFF
0%, #FFF9F2 100%);
/* Opera */
background-image: -o-linear-gradient(right, #FFFFFF 0%,
#FFF9F2 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, right top, left
top, color-stop(0, #FFFFFF), color-stop(1, #FFF9F2));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(right,
#FFFFFF 0%, #FFF9F2 100%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to left, #FFFFFF 0%,
#FFF9F2 100%);
border:3px solid #860000;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
box-shadow:0 4px 6px rgba(0,0,0,0.1),0 1px 1px rgba
(0,0,0,0.3);
-moz-box-shadow:0 4px 6px rgba(0,0,0,0.1),0 1px 1px
rgba(0,0,0,0.3);
-webkit-box-shadow:0 4px 6px rgba(0,0,0,0.1),0 1px
1px rgba(0,0,0,0.3);
box-shadow:0 2px 6px rgba(0,0,0,0.1),0 1px 1px rgba
(0,0,0,0.3);
font-weight:normal;
color:#333;
}
.emoWrap:after {
content:"";
position:absolute;
bottom:-10px;
left:10px;
border-top:10px solid #860000;
border-right:20px solid transparent;
width:0;
height:0;
line-height:0;
}
* Now search for </head> tag and place the below code above it
<script src='https://ajax.googleapis.com/ajax/libs/
jquery/1.8.3/jquery.min.js' type='text/javascript'/>
* Finally click Save Template
That's all, now you have successfully added Smileys/Emoticons to your blogger comments box. To get more amazing tutorials, subscribe to our newsletter below the page.
0 Comments