Floating YouTube Follow button in Blogger
Hello, Welcome to Shiva Technic World in this post I am going to give Floating YouTube Follow button codes for Blogger.
First copy this CSS and paste above </head> or <!--<head/>--></head>
<style>
/* YouTube Follow button by Shiva Technic World */
.BTW-Follow { position: fixed; left: 55px; bottom: 20px; background-color: #f2f2f2; padding: 12px 15px 12px 12px; border-radius: 15px; box-shadow: 0 4px 12px 0 rgba(9,32,76,.05); display: flex; align-items: center; max-width: 300px; min-width: 280px; color: #000000; overflow: hidden; z-index: 50;} .BTW-Follow .BTW-Follow-close { position: absolute; top: 4px; right: 8px; } .BTW-Follow .BTW-Follow-close svg { width: 22px; height: 22px; fill: #000; } .BTW-Follow .BTW-Follow-img { width: 70px; height: 50px; } .BTW-Follow .BTW-Follow-img img { display: flex; align-items: center; justify-content: center; width: 50px; } .BTW-Follow .BTW-Follow-content { width: calc(100% - 70px); padding-left: 1px; } .BTW-Follow .BTW-Follow-content a { display: block; color: inherit; } .btw-btn{font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: flex-end; width: 73px; height: 25px; padding-right: 12px; background-color: #e4393c; border-radius: 4px; color: #fff; margin-top: 12px; bottom: 0; right: 0; } .BTW-Follow .BTW-Follow-content .title { display: block; font-weight: 700; font-size: 13px; text-align: left; padding-left: 12px }.BTW-Follow .btw-btn a { display: block; color: inherit; color:#fff; } .BTW-Follow .BTW-Follow-content .desc { display: block; font-size: 10px; margin-top: 5px; color: #000; text-align: left;padding-left: 12px }.bt-text{margin-left:9px}
</style>
Then copy this code and paste above <body>
<div class='BTW-Follow jhfdiuh0' id='btw746427'>
<div class='BTW-Follow-close' onclick='document.getElementById("btw746427").style.display="none"'><svg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'><path d='M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z'/></svg></div>
<div class='BTW-Follow-img'><img alt='Your_Channel_Name' src='Your_channel_image_link'/>
</div>
<div class='BTW-Follow-content'>
<span class='title'>Your_Channel_Name</span>
<span class='desc'>Subscribe our Youtube Channel</span>
</div>
<div class='btw-btn'>
<a href='https://youtube.com/Your_channel_link?sub_confirmation=true' target='_blank'>
<span class='bt-text'>Follow</span></a>
</div></div>
Then replace Your_Channel_Name with your channel name, Your_channel_image_link with your channel image link and Your_channel_link with your channel link. Hope this post helps you.
Watch tutorial
Join the conversation