You Are Here : Home » , » New CSS Download Buttons for Blogger

New CSS Download Buttons for Blogger

So you are looking for a cool and awesome looking download buttons for your Blogger blog. If yes, then you are at correct place. Many of you were looking for the button that you can add in your demo and download link but not able to made it by yourself or you may not have much time to given on creating a good looking download and demo buttons for your blog. So, to help bloggers like you I am sharing some really good looking CSS buttons. If you are a regular user of this blog than you may be familiar with the previous CSS3 Download Buttons for Blogger. In the previous CSS buttons you are provided four sets of buttons which are very easy to use and looks good as well. If you like those CSS buttons for Blogger than you will also like these two sets of download buttons too. It's very simple and built with keeping in mind about all types of browser. It's cleanly coded so that you can customize it yourself. But if you face difficulty in customizing I will be here to help you. Now read the process explained below.

New CSS Download Buttons for Blogger

See the picture given above. The button that I will provide will look something like the above image. These buttons is fully based on CSS 3. But don't worry if you think that it will not work properly in the older versions of web browsers. I have taken care about all popular browsers that are used now a days. The CSS code contains codes for two types of download buttons for blogger blogs. Both buttons are made with similar looking design but different in color. One of the button is gray in color and the another one is in blue. It's easy to use and is smaller in size so that it may not slow down your blogs' loading time. I also use these CSS buttons in my Blogger blog as these are simple and looks good as well. If you would like to use these CSS3 buttons in your Blogger blog than follow some simple steps given below to add this cool buttons.

Before you can proceed on the tutorial I would like to remind you to make a Backup of Blogger Template so that you can use this Backup template in no way out. Now after creating the Backup follow the following steps to add these CSS buttons in your Blogger blog.
  • You should be signed in until now. Now after signing in go to Blogger home.
  • In the homepage click on the template page from the Dashboard.
  • In the template page you will see Edit HTML located just below the live preview of your Blogger blog. Click on Edit HTML.
  • Now click anywhere in the code and press CTRL+F to open the Blogger search box. In the search box search for the code given below.
</head>
  • Now paste the code which is given below just after the </head> tag.
<style type="text/css">
.button-ht {
-webkit-border-top-left-radius:14px;
-moz-border-radius-topleft:14px;
border-top-left-radius:14px;
-webkit-border-top-right-radius:14px;
-moz-border-radius-topright:14px;
border-top-right-radius:14px;
-webkit-border-bottom-right-radius:40px;
-moz-border-radius-bottomright:14px;
border-bottom-right-radius:14px;
-webkit-border-bottom-left-radius:14px;
-moz-border-radius-bottomleft:14px;
border-bottom-left-radius:14px;
text-indent:0;
height: 28px;
line-height: 27px;
width: auto;
text-decoration: none !important;
display: inline-block;
font-family: Verdana;
font-size: 13px;
font-weight: bold;
font-style: normal;
}
.blue-ht{
padding: 5px 5px;
margin-bottom: 2px;
-moz-box-shadow:inset 0px 1px 0px 0px #bee2f9;
-webkit-box-shadow:inset 0px 1px 0px 0px #bee2f9;
box-shadow:inset 0px 1px 0px 0px #bee2f9;
background:-webkit-gradient(linear,left top,left bottom,color-stop(0.05,#63b8ee),color-stop(1,#468ccf));
background:-moz-linear-gradient(center top,#63b8ee 5%,#468ccf 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee',endColorstr='#468ccf');
background-color:#63b8ee;
border:1px solid #3866a3;
color:#14396a;
color: #000000 !important;
text-shadow:1px 1px 0px #7cacde;
}
.blue-ht:hover{
background:-webkit-gradient(linear,left top,left bottom,color-stop(0.05,#468ccf),color-stop(1,#63b8ee));
background:-moz-linear-gradient(center top,#468ccf 5%,#63b8ee 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468ccf',endColorstr='#63b8ee');
background-color:#468ccf;
text-decoration:none;
}
.blue-ht:active{
position:relative;
top:1px;
-moz-transition: all 0s ease-out;
-o-transition: all 0s ease-out;
-webkit-transition: all 0s ease-out;
-ms-transition: all 0s ease-out;
transition: all 0s ease-out;
}
.gray-ht{
padding: 5px 5px;
margin-bottom: 2px;
-moz-box-shadow:inset 0px 1px 0px 0px #c0c0c0;
-webkit-box-shadow:inset 0px 1px 0px 0px #c0c0c0;
box-shadow:inset 0px 1px 0px 0px #c0c0c0;
background:-webkit-gradient(linear,left top,left bottom,color-stop(0.05,#f1f1f1),color-stop(1,#808080));
background:-moz-linear-gradient(center top,#f1f1f1 5%,#808080 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f1f1f1',endColorstr='#808080');
background-color: #808080;
border:1px solid #c0c0c0;
color: #4F4B4B !important;
text-shadow: 1px 1px 0px #101010;
}
.gray-ht:hover{
background:-webkit-gradient(linear,left top,left bottom,color-stop(0.05,#808080),color-stop(1,#f1f1f1));
background:-moz-linear-gradient(center top,#808080 5%,#f1f1f1 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#808080',endColorstr='#f1f1f1');
background-color: #808080;
text-decoration:none;
}
.gray-ht:active{
position:relative;
top:1px;
-moz-transition: all 0s ease-out;
-o-transition: all 0s ease-out;
-webkit-transition: all 0s ease-out;
-ms-transition: all 0s ease-out;
transition: all 0s ease-out;
}
</style>
  • After adding the above code in the specified page you would like to see a preview of your blog to check for errors.
  • If everything looks fine you can save your template by clicking save template button.
Great! We have now finished adding the most necessary CSS file in your Blogger blog. But it's not over yet. Now, I think you would also like to know how to add these CSS buttons in your post. For that you have to add a class to the link in which you want these buttons is to be shown. Don't Worry! I will explain you how to embed these buttons in your blog post. See the process explained below.
  1. Just start editing or creating a new post in which want the buttons to appear.
  2. Now switch to HTML mode and add the following link code in the HTML mode of your post at the place where the buttons are supposed to be shown.
<a class="button-ht gray-ht" href="#">BUTTON-TEXT</a>
Now after you have finished adding the above link code in the HTML mode of your blog post see "#" in the above code. Now replace # with the download link (or any link that you would like to convert into one of these cool CSS button). Now replace "BUTTON-TEXT" with the word or word group that you would like to show it on the button. When you will see your post than you can see an awesome gray button on that link. You know you can add two different look to your buttons. Let's say you are creating a post on Template and for that you would like two different buttons for demo and download link. Take a look at the two different buttons in image that is given on the starting of the post. To change the button style follow the following steps.
  • Take a look at the link code given below carefully. It is same as the above given link code.
<a class="button-ht gray-ht" href="#">BUTTON-TEXT</a>
If you will use this code for your button than a gray button will be shown. But if you would like to change the button look to the blue one than you will only need to replace gray-ht with blue-ht in the above code. See the code given below which will create the blue button on the link.
<a class="button-ht blue-ht" href="#">BUTTON-TEXT</a>
Just add the above code by switching to the HTML mode of your blog post editor and replace # and BUTTON-TEXT according to your requirement. We have now finished adding a cool CSS button in your Blogger post.

Phew! We just learn how to embed/add buttons (download buttons) in a Blogger blog. If you have followed the above steps carefully you should have got these CSS buttons working in your post. If you need any help than feel free to ask me.

Ads by Google
If you enjoyed reading this article then please leave a comment or subscribe to our newsletter to get all the future posts delivered to your feed reader or you email desk.

7 comments:

  1. I want to increase height and width and overall size of the button,how to do it ?

    ReplyDelete
    Replies
    1. Look for height in line 16 in the above code. In the above CSS it is set to 28px. You can change the height of the button according to your need. Also, change the line-height which is in line 17 after changing the height.

      You can change the font-size to increase the size of the button. See line 22 in the above CSS code.

      Now add the small CSS code given below to change the overall size of the button:
      Copy everything below this line. Change 10px to your desired value.

      .button-ht {padding: 10px !important;}

      Delete
  2. And how to increase size of text inside it and also if i want it to be in rectangular shapes,this mean width more than height.How to do that ?

    ReplyDelete
    Replies
    1. Do you mean increasing text size inside the button ?
      If Yes, than see line 22 of the CSS code. In line 22 you will see code as given below:
      font-size:13px;
      To increase the text size, change 13px to your desired value.

      Width more than the height ???
      Actually the width depends on the text used for the button. It means width will change automatically in accordance with the text inside the button.

      But if you mean changing all the smooth curved ends to pointer than remove everything from line 3 to line 14.

      Delete
    2. Hey ashish can you teach me about css,template designing and all

      Delete
    3. I'm not that much good. Have a look at w3schools, it provides many easy lessons on CSS, HTML, JavaScripts etc. that is necessary for web-designing.

      Delete
  3. How do you display those code in a stylish manner

    ReplyDelete

Welcome to SpicyTweaks.

Copyright © 2013-17 SpicyTweaks. All Rights Reserved.

Scroll to top