Are you fed up with your boring footer and would desire to renovate it into something that could thrill your readers? Footer represents the complete outlook of a blog because it has most prominent information that is extremely crucial for a web owner. As we all know, Footer is situated at the end of the websites so the probabilities are exceedingly slim that your visitors will ever going to see it properly. Therefore, it is extremely essential that a web owner should integrate a “Sticky” floating Footer bar to his blog or website so he can maximize the visitor’s attention. Having a Sticky bar at the bottom of the website has numerous advantages we can also list featured post on it to get maximum attention of visitors. In this article, we will learn how to create a sticky floating footer bar in Blogger.
Why To Use The Sticky Footer Bar:
You can use it to turn the attention of your readers towards a specific article which could be a featured post, a special offer or whatever you like. The version of the Footer which we are showing you in this article is low simpler, then a Hello bar because it does not have the option to close. It is a static footer bar that swaps your content with the help of an extremely modest jQuery. The reason why we recommend you to use it on your website is that it is pretty lightweight and does the job quite handsomely.
When and Where The Floating Footer Will Appear:
Just look at the following screenshot, in which you can witness a Sticky footer bar that is equipped with Social icons, a back to top button and a featured article link. It will remain attach to the bottom of your website while it will scroll along the screen.
How To Create a Sticky Footer Bar in Blogger:
The steps are extremely straightforward and would hardly soak 10 minutes for completion. Even though, the title say that it is for WordPress but it can be utilized in any website. All we have here is a bit of CSS and Jquery which does the magic.
- Go To Blogger.com >> Template >> Edit HTML >> Proceed.
- Now within the template search for ]]></b:skin> and just above it paste the following CSS coding.
- /* MBL Floating Sticky Footer Bar For Blogger (www.bsresearcher.blogspot.com) */
- #MBL-footer-bar {
- position: fixed;
- bottom: 0;
- z-index: 100;
- width: 100%;
- height: 38px;
- clear: both;
- margin: 0;
- padding-bottom: 4px;
- background-color: #333;
- overflow: hidden;
- }
- #MBL-footer-bar a {
- float: right;
- margin: 0;
- padding: 0;
- background-color: #333;
- }
- #MBL-footer-bar a.first {
- float: left;
- margin-top: -1px;
- }
- .MBL-footer-wrapper {
- max-width: 92%;
- width: 960px;
- margin: 0 auto;
- }
- .MBL-footer-wrapper {
- width: 100%;
- padding: 10 10%;
- }
- @media only screen and (max-width : 649px),
- only screen and (min-device-width : 320px) and (max-device-width : 685px) {
- #MBL-footer-bar {
- position: static;
- }
- .MBL-footer-wrapper {
- width: 90%;
- padding: 0 5%;
- }}
- #tips, #tips li{margin:0; padding:8px; list-style:none; }
- #tips{width: 100%; font-size:22px; line-height:120%; font-family: Arial, Helvetica, sans-serif; vertical-align:middle; margin: -2px 0 0; opacity: 0.95; font-weight: bold; }
- #tips li{padding: 0px 0; display:none; float:left; }
- #tips li a{color: #fff; }
- #tips li a:hover{text-decoration: none; }
- This time search for </head> and above it paste the following JavaScript code.
- <script>$('#MBL-footer-bar').hide();$(function(){$(window).scroll(function(){if($(this).scrollTop()>600){$('#MBL-footer-bar').slideDown(200)}else{$('#MBL-footer-bar').slideUp(200)}});$('.go-top').click(function(){$('html,body').animate({scrollTop:0},1000);return false})});</script>
- <script>var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-20868082-3']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript'ga.async=true;ga.src=('https:'==document.location.protocol?'https:var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s)})();</script>
- <script type="text/javascript">
- if (window.jstiming) window.jstiming.load.tick('widgetJsBefore');
- </script>
- <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=1.7.2' type='text/javascript'/>
- <script src='https://mybloggerlab.googlecode.com/files/main.js' type='text/javascript'/>
- Now finally, search for<body> and just below it pastes the following HTML code.
- <header class='cf' id='page-header'/>
- <div id='MBL-footer-bar'>
- <div class='MBL-footer-wrapper'>
- <a class='go-top first' href='#page-header'><img alt='Back To Top' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggF7PbWlS3ez11aNG6CyskTwUNV9ZW9LPDK1ALru9IWe6OX5MCA2iKMPn90Pl1FTR592BLN7UhyU-AEsNRfsvPejcIYPc4NvLc4IAs-3k_fqM81DlGzOJSnvQRVChmV8CTm6XMVGT8ojw/s1600/UP.png'/></a>
- <a href='https://plus.google.com/u/0/106374439082237286396' target='_blank' title='Follow On Google+'><img alt='google+ page' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbOkD8EEF1eiQirEFa553oydV9RMekLTB_p6icFH5lgmTWd1l8st4A4id_R8CL7Mn9IhpSCYNty1EJJO8h_wqlY0ak0hD6vuKHvvzirw6k2QEmxkNtA8LoAQS3OfK9BUAB401DgT-KjQGe/s1600/GooglePlus.png'/></a>
- <a href='http://www.facebook.com/mybloggerlab' target='_blank' title='Follow On Facebook'><img alt='facebook' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvcyRUGav2lSggwRNg4VfDmWCfmoN-8a6X3uZAiIG3Vx6bO1Vdyn_EOkbaNdKQYqQ_Pmpzg-KmhZTWua_hjRvc1ZEUbeeZQIT-_Z-sJ9VveMSHXy6WLG9YGi2X_MECDd_M1J5X8KfSWbFT/s1600/FB.png'/></a>
- <a href='http://twitter.com/Mybloggerlab' target='_blank' title='Follow Us'><img alt='twitter' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj_neSRhq4_4oPZNmxEy5e9WNQwIqGjN_c9zcbPsoeAkNu99ztfx5fn5CFJZXOc3oGXHj93GydWBLZWYjIOYLhk4V81LwSuzl2lwu7SPAI2U70Pu02mmBt2ZGfT57GtooDZNYZyUIBwr_F/s1600/Twitter.pngg'/></a>
- <a href='http://feeds.feedburner.com/mybloggerlab' title='Get Updates'><img alt='rss' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBtbIfKvEs8htLtXbrJPeY3Cj0lkEcAgArAyZJFhwFL-HWet_qsRwg9uPIcUCebSauTxfuN9h6ROaiFMKTlMsXewm-TtdVL521g2J36WENREoilvMi0GSwTnES_2XyEPu4CDWzIQWWsVS/s1600/RSS.png'/></a>
- <div class='boxfloat'>
- <ul id='tips'>
- <li><a href='http://www.bsresearcher.blogspot.com'>MyBloggerLab is the First Item</a></li>
- <li><a href='http://www.blogger.com'>Blogger.com is the Second Item</a></li>
- <li><a href='http://www.bsresearcher.blogspot.com'>This Is Third Item</a></li>
- <li><a href='http://www.bsresearcher.blogspot.com'>This Is Forth Item</a></li>
- </ul>
- </div>
- </div>
- </div>
Customization:
You can include multiple featured post links in it. However, only one item will be shown to your visitor, which will rotate whenever someone will reload the page.
You can include multiple featured post links in it. However, only one item will be shown to your visitor, which will rotate whenever someone will reload the page.
Don’t forget to replace the above colored links with your social accounts i.e. Google Plus, Facebook, Twitter and RSS Feeds.
All Done: Now once you have customized the footer according to your desire needs go ahead and save your template by pressing save template bottom.
From The Editor’s Desk:
Well, there is no limitation. You can add more functionality to your footer by playing with HTML and CSS all you need is a bit of creativity. We hope you have found it useful. We’d love to hear your thoughts via comments. If you have any queries then do utilize our FREE Blogger Support till then Peace, Blessings and Happy floating.
Disclaimer: Rotating Featured Articles JQuery Credits to WPBeginner while the rest of Footer bar is individually created by MBL Team so please respect the copyrights.
Disclaimer: Rotating Featured Articles JQuery Credits to WPBeginner while the rest of Footer bar is individually created by MBL Team so please respect the copyrights.
How To Create a Floating Sticky Footer Bar in Blogger
4/
5
By
Editorial Board
Dear Reader! We’re enthusiastic to see your comment but after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me.
Let’s enjoy a personal and evocative conversation. Thank You!