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.
- /* EiM Floating Sticky Footer Bar For Blogger (www.E-ideamart.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').s lideUp(200)}});$('.go-top').click(function(){$('html,body').animate({scrollTop:0},1000);retu rn false})});</script>
- <script>var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-20868082-3']);_gaq.push(['_trackPageview']);(func tion(){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/AVvXsEjJQO0ZrDUydNcsYHTGMMS60rpl_hiz-kVaOqmZCjS58ZvKgiPE6uWlIYPCubnXExvvmYd12PlEyTPmB2phhVTkYudlcj_A_ZQWB96C-kqP08OmedcZyPgoPWknLiznJDZSpmCnp9wEbB4/s1600/UP.png' /></a>
- <a href='https://plus.google.com/u/0/101845370194687634858' target='_blank' title='Follow On Google+'><img alt='google+ page' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUBYmGKL08TSFS2CbGL6Fpan5RUR6TjSLfVR3pYgzt8-y-ghGjzTgNYBIwc7IiuoQuRg_ncrEVSrUiVqUzrdZOijOb9jkEeJoXv3Sp-7-9T0YDRs47qrS_JEWCqn4uo1vYGeGb4rBpjUgX/s1600/GoogleP lus.png'/></a>
- <a href='http://www.facebook.com/Eideamart' target='_blank' title='Follow On Facebook'><img alt='facebook' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSwQX7GAYDUWRQqmw2TLQob4O604-yDh-DGADU890CRHmbUYE10jJm2qJrvRwsNwrMPNl-2sRkurCB3wZiGsnwKpby-l8Ocy6CGK-xeTf1rdw4_LidgOF33vrAYB-sXlNOcO6o3jFOiRbl/s1600/FB.png' /></a>
- <a href='http://twitter.com/saadahmads' target='_blank' title='Follow Us'><img alt='twitter' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwEhyphenhyphenjCxQkhlYTg30YgJ549twzfbz1EN99-djmKJiGDCgZjJzTNge_3JJuLZO5GLtRnvGU3rDYI4E4eBLHjseRNk-XssD6gX-dpTSeT46dikiDDx6cauiKz3BAhsEjaOosdsQjruY3446V/s1600/Twitter .pngg'/></a>
- <a href='http://e-ideamart.blogspot.com/feeds/posts/default' title='Get Updates'><img alt='rss' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqKspWpc-uh-kpi9t4f-dwcu9UgD42X4CU6VHfDj9oZRMf3bjkS6jBdtjZufR-RU6yQTmtfTfJxmoHndxv__VNRek1CQDP5X3OnnJPmPxpo1MAOig6MWzCHrz3XDIydYHg3kqivSAB66Mp/s1600/RSS.png '/></a>
- <div class='boxfloat'>
- <ul id='tips'>
- <li><a href='http://www.e-ideamart.blogspot.com'>E-ideaMart is the First Item</a></li>
- <li><a href='http://www.e-ideamart.blogspot.com'>Blogger.com is the Second Item</a></li>
- <li><a href='http://www.e-ideamart.blogspot.com'>This Is Third Item</a></li>
- <li><a href='http://www.e-ideamart.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.
0 comments:
Post a Comment