In the previous post we share the loading effect and now we are going to share call to action widget for blogger. This widget consist of Note, announce, success and warning four important and most used call to action button. You can use these call to action widget in Your blog to effectively notify your visitors and to get your attention. This widget is made of simply With CSS and HTML. There is no Java Scriptor any other coding language used in this widget. Most of the wordpresss blog have great visuality of call to action button as there are lots of wordpress plugins offer this functionality to wordpress. So, get started to tutorial and grab these call to ation widget for Blogger. Installation is quite simple and it can be done within two minutes.
How to add this in Blogger
To add this widget in bloggerGo to template>>backup it and click edit HTML.
Press ctrl+f and find ]]></b:skin>
Place the below CSS code above/before it.
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
.message_box {
margin:15px 0;
}
.note {
color:#666;
font-family:"Open Sans";
font-size:16px;
border:1px solid #FDEBA5;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_Py4KuLTmUiAjbYN95Mpb-bPRi7_Wpm5R2fxaYYc1fEe-UVv-ZnXWw7xBdqp6RptAqRC8moMr1ffMVH6KYgfwmJuGz34kR2hXjFgz3_KxWNOoUfmrdurnX7EJjs_usKBjss5i4q2syTYG/s1600/thumb.png) no-repeat scroll 10px center #FEF4C8;
padding:.5em 1em .5em 3em;
}
.announce {
color:#666;
font-family:"Open Sans";
font-size:16px;
border:1px solid #BEE5F8;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkIS2EdNNywy9xXNc_tB4IU36FODhJEcaMwyAZD99Vqub7Z05jpTuy3DybHdIB0dL-pH43T-DHFE6Y1RbmICin_BkfE_lYBgcRqJZxjnWVbGMxsTDL4BBNz7G1RQrCfjMK3LBi4l0iC_Ci/s1600/speaker.png) no-repeat scroll 10px center #D7EFFB;
padding:.5em 1em .5em 3em;
}
.success {
color:#666;
font-family:"Open Sans";
font-size:16px;
border:1px solid #DEF1BF;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-pyJhnHyLi7dI0J107y5JaTX0el8Jgk-Mgg5S6MECST_hKhL6Xl3PJ4w3iBKlZnJCIxtLHXk7_fDM-6B58Cp22Yyko_hBQvRooNXeby3ObzXeqpdsOJPw0h5vTjSUT3Y9VswSWnPANjqg/s1600/tick.png) no-repeat scroll 10px center #E8F6D2;
padding:.5em 1em .5em 3em;
}
.warning {
color:#666;
font-family:"Open Sans";
font-size:16px;
border:1px solid #FFDBDB;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUtKYf6mbBjfWy_KR2DQMnYHHl8JS1qNVc-sLYBy1gvL-Sh-xVt9pQJpVtv_LoDKeoZ9vY1DdWCNDYoJ9z3jWFA693VIYbVL-Qr1kSts7InJVmD4ujB8nwlsYf2ZORbk-31HhyDVLgXqXa/s1600/cross.png) no-repeat scroll 10px center #FFE7E7;
padding:.5em 1em .5em 3em;
}
Save your template.
Below is the HTML code. Paste the below code in Posts where you want to add it.
Note Box :
<div class="message_box note">
Hi, I am Mr.Noter. I'll notify your readers about the news.
</div>
Announce Box :
<div class="message_box announce">
Mr.Annoucer is having meetup with Blogger Yard's Readers.
</div>
Success Box :
<div class="message_box success">
Mr.Success. Never give up! A day wil come when you will catch me.
</div>
Warning Box :
<div class="message_box warning">
Mr.Warner. I will try my best to warn from such worst things.
</div>
Replace the above messages with your own.
0 comments:
Post a Comment