Hi friends in this article i'm gonna show you how to add download and demo button with hover effect to your blog.This article will be useful when we write a post on softwares or while giving away the templates for free.In this we will use css instead of placing the demo and download links directly.so let's start doing this.
That's it friends now place the download and demo button in your post.I hope you enjoyed the article if you have any queries feel free to ask us and happy blogging :)
Steps:
1.Go to Blogger>>Template>>Edit html.
3.Before doing this backup your template.
4.Copy the below code and paste it before ]]></b:skin>.
*/-----CSS for download and demo button by worldtech360.com-----/*.button {-moz-border-radius:5px 5px 5px 5px;-webkit-border-radius:5px 5px 5px 5px;border-radius:5px 5px 5px 5px;-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);background:url("#") repeat-x scroll 0 0 #252424;border-bottom:1px solid rgba(0, 0, 0, 0.25);color:#FFFFFF !important;cursor:pointer;font-weight:bold;line-height:1;overflow:visible;font-size:17px;padding:8px 19px 9px;position:relative;text-decoration:none;text-shadow:0 -1px 1px rgba(0, 0, 0, 0.25);width:auto;}.wt360demobutton {background-color:#222222;text-align:center;width:150px;}.wt360demobutton:hover {background-color:#00A0EE;}.wt360downloadbutton {background-color:#bcf50b;text-align:center;width:150px;}.wt360downloadbutton:hover {background-color:#00AC00;}.button:hover {-moz-box-shadow:0 1px 11px rgba(0, 0, 0, 0.45);-webkit-box-shadow:0 1px 11px rgba(0, 0, 0, 0.45);box-shadow:0 1px 11px rgba(0, 0, 0, 0.45);}*/-----CSS for download and demo button by worldtech360.com-----/*
5.Once you copy the code save the template.
6.Whenever you want to add the download and demo button in the post,copy the below codes and paste them in the "HTML" of the blogger editor(i.e post body where you have two tabs one is compose and the other one is HTML.switch to HTML tab and paste the below code where ever you want.)
Download button:
<a class="wt360downloadbutton button" href="YOUR DOWNLOAD LINK HERE" rel="nofollow" style="float: right;" target="_blank"><span style="display: inline-block;">Download</span></a>
Demo button:
<a class="wt360demobutton button" href="YOUR DEMO LINK HERE" rel="nofollow" style="float: right;" target="_blank"><span style="display: inline-block;">Live Demo</span></a>
Note:
Replace "YOUR DOWNLOAD LINK HERE" wiht the the link which you want to keep and you can aslo change the postion of the button to left,right by changing the style as shown above.
7.After doing the above steps you will see the download and demo buttons with hover effect in the post as shown below.Move the cursor on it and see the hover effect.
Download Live Demo
Download Live Demo
That's it friends now place the download and demo button in your post.I hope you enjoyed the article if you have any queries feel free to ask us and happy blogging :)

Comments
Post a Comment