In this post, I will inform and recommend to all my visitors and users of blogger blog or blogging platform, I will show you how to make social media buttons for your blog.
This time, ArthurCode provides a demo sample, and will
make the buttons have a shadow effect by swiping up, when we hover over each
social media icon.
How to Add Social Media Icons To Blogger in Sidebar
First open blogger > Theme > Click on the edit html
button> template editor > Add CSS below before the code search for
]]></b:skin> or </style> paste below the searched code and copy
the css below.
/* ArthurCode Media Social */
<style>
#suscribirse {100%; height:auto; display:block; margin:auto; line-height:40px; padding:0px}
#suscribirse .email__ {padding:15px 15px 5px;}
#suscribirse .email {margin:auto; color:#555; text-align:center;}
#suscribirse .email:before {content:''; width:57px; height:57px; display:block; text-align:center; margin:auto; border-radius:100px; transition:all .3s ease; -webkit-animation:ignielRing 5s 0s ease-in-out infinite; -webkit-transform-origin:50% 4px; -moz-animation:ignielRing 5s 0s ease-in-out infinite; -moz-transform-origin:50% 4px; animation:ignielRing 5s 0s ease-in-out infinite; transform-origin:50% 4px; background:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcDmwWZBT4XKeg4_V1RHtuIn4dlHopgKaj39FQgKkkObWtBPYeQrn-Z7hwhS5r_DEfx7kEFr24xtMjNANlr1DM9YaVlC1I_XAvLwOa9QgBXhKOUje3YPC3w6vHCY_FqiBRVJKb5NV6Rz8/s1600/newlester.png") center center / 50px no-repeat;}
#suscribirse .medsos__ {padding:15px 0px; line-height:0px; border-top:1px solid #ccc;}
#suscribirse form {display:-webkit-box; display:-webkit-flex; display:-moz-box; display:-ms-flexbox; display:flex; flex-wrap:nowrap; align-items:center; margin:0px 0px 15px; padding:0px; position:relative;}
#suscribirse form:before {left:15px; position:absolute; display:block; width:20px; height:20px; background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z' fill='%23717171'/%3E%3C/svg%3E") no-repeat; content:'';}
#suscribirse input { font-family: 'Poppins', sans-serif;width: calc(100% - 35px); background-color:#fff; line-height:1.5em; border:1px solid #e8e8e8; border-right:0px; padding:8px 10px 8px 40px; font-size:12px; text-align:left !important; border-radius:50px 0px 0px 50px; outline:none; outline-width:0px; box-shadow:none; -moz-box-shadow:none; -webkit-box-shadow:none;}
#suscribirse button {background-color:#f93356; width:40px; min-width:40px; height:36px; margin:0px; padding:0px; border:0px; box-shadow:none; vertical-align:top; cursor:pointer; transition:all .3s ease; background-image:unset; border-radius:0px 50px 50px 0px;}
#suscribirse button:hover, #suscribirse button:focus {background-color:#f12348; color:#f93356}
#suscribirse button:before {display:inline-block; width:20px; height:20px; margin:0px; background:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2,21L23,12L2,3V10L17,12L2,14V21Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat; content:''; vertical-align:-3px;}
#suscribirse .medsos {width:100%; text-align:center;}
#suscribirse .medsos svg {width:20px;height:20px;margin-top:7px}
#suscribirse .medsos svg path {fill:#fff}
#suscribirse .medsos a {display:inline-block; margin-right:7px; width:35px; height:35px; transition: all ease-in-out 300ms; border-radius:4px;}
#suscribirse .medsos a:last-child {margin-right:0px;}
#suscribirse .medsos a:hover {box-shadow: 0px 23px 15px -3px rgba(0,0,0,0.25); transform: translate(0px, -10px) scale(1.05);}
#suscribirse .medsos .facebook{background:#3a579a}
#suscribirse .medsos .twitter {background:#00abf0}
#suscribirse .medsos .googleplus {background:#df4a32}
#suscribirse .medsos .youtube {background:#cc181e}
#suscribirse .medsos .instagram {background:#992ebc}
#suscribirse .medsos .pinterest {background:#e60023}</style>
Then add this code in design> and add gadget in sidebar> choose HTML/JavaScript and paste the code below.
/* ArthurCode Media Social */
<div id="suscribirse">
<div class="medsos">
<a class="facebook" href="#" rel="nofollow noopener" target="_blank" title="Facebook"><svg viewbox="0 0 24 24"> <path d="M17,2V2H17V6H15C14.31,6 14,6.81 14,7.5V10H14L17,10V14H14V22H10V14H7V10H10V6A4,4 0 0,1 14,2H17Z"></path></svg></a>
<a class="youtube" href="#" rel="nofollow noopener" target="_blank" title="Youtube"><svg viewbox="0 0 24 24"><path d="M10,16.5V7.5L16,12M20,4.4C19.4,4.2 15.7,4 12,4C8.3,4 4.6,4.19 4,4.38C2.44,4.9 2,8.4 2,12C2,15.59 2.44,19.1 4,19.61C4.6,19.81 8.3,20 12,20C15.7,20 19.4,19.81 20,19.61C21.56,19.1 22,15.59 22,12C22,8.4 21.56,4.91 20,4.4Z"> </path></svg></a>
<a class="twitter" href="#" rel="nofollow noopener" target="_blank" title="Twitter"><svg viewbox="0 0 24 24"><path d="M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z"></path></svg></a>
<a class="instagram" href="#" rel="nofollow noopener" target="_blank" title="Instagram"><svg viewbox="0 0 24 24"><path d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"></path></svg></a>
</div>
</div>
Change the # marked to put the links of your social networks
RESULTADO