Friends help me with a template problem
Hello buddies,
recently I deactivated Nav-bar in both of my blogs, and after that a blank space has been created above the header. Is there any way to remove that dumb blank area???
Thanksss!!!
You removed navbar by turning it off?
.
Remove the navbar completely from your template. The blank space will ( probably ) disappear.
yes i turned it off from blogger's option....
any better way??
thanks kido...let me try...
Search for the following code :
.
.
.
<b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'> <b:widget id='Navbar1' locked='true' title='Navbar' type='Navbar'> <b:includable id='main'><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script><div id="navbar-iframe-container"></div><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><script type="text/javascript"> gapi.load("iframes-styles-bubble", function() { if (window.iframes && iframes.open) { iframes.open( '//www.blogger.com/navbar.g?targetBlogID\0757525267108481748953\46blogName\75delblog\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75DISABLED\46layoutType\75LAYOUTS\46searchRoot\75http://del2wq522.blogspot.com/search\46blogLocale\75en\46v\0752\46homepageUrl\75http://del2wq522.blogspot.com/\46vt\75-5865071391278182952', { container: "navbar-iframe-container", id: "navbar-iframe" }, { }); } }); </script><script type="text/javascript">(function() {var script = document.createElement('script');script.type = 'text/javascript';script.src = '//pagead2.googlesyndication.com/pagead/js/google_top_exp.js';var head = document.getElementsByTagName('head')[0];if (head) {head.appendChild(script);}})();</script></b:includable> </b:widget> </b:section>
.
.
.
Add <!-- at the beginning of the above code and --> at the end so that the code changes to :
.
.
.
<!-- <b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'> <b:widget id='Navbar1' locked='true' title='Navbar' type='Navbar'> <b:includable id='main'><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script><div id="navbar-iframe-container"></div><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><script type="text/javascript"> gapi.load("iframes-styles-bubble", function() { if (window.iframes && iframes.open) { iframes.open( '//www.blogger.com/navbar.g?targetBlogID\0757525267108481748953\46blogName\75delblog\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75DISABLED\46layoutType\75LAYOUTS\46searchRoot\75http://del2wq522.blogspot.com/search\46blogLocale\75en\46v\0752\46homepageUrl\75http://del2wq522.blogspot.com/\46vt\75-5865071391278182952', { container: "navbar-iframe-container", id: "navbar-iframe" }, { }); } }); </script><script type="text/javascript">(function() {var script = document.createElement('script');script.type = 'text/javascript';script.src = '//pagead2.googlesyndication.com/pagead/js/google_top_exp.js';var head = document.getElementsByTagName('head')[0];if (head) {head.appendChild(script);}})();</script></b:includable> </b:widget> </b:section> -->
.
.
.
And the empty space disappears!
Brillaint Ranjith
Rajni, my boy.... It Worked Perfectly!!! Long live your Java with Us!!!
Sign in to reply to this thread