Friends help me with a template problem

Anunoy Samanta
Anunoy Samanta
from Bardhaman
11 years ago

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!!!

Replies 1 to 3 of 3 Descending
Ranjith
Ranjith
from hyderabad
11 years ago

You removed navbar by turning it off?

.

Remove the navbar completely from your template. The blank space will ( probably ) disappear.

Anunoy Samanta
from Bardhaman
11 years ago

yes i turned it off from blogger's option....

any better way??

Ranjith
from hyderabad
11 years ago

-- See answer below --

Anunoy Samanta
from Bardhaman
11 years ago

thanks kido...let me try...

Ranjith
from hyderabad
11 years ago

One kiddo calling another kiddo kiddo. 

Ranjith
Ranjith
from hyderabad
11 years ago

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'>&lt;script type=&quot;text/javascript&quot;&gt;    function setAttributeOnload(object, attribute, val) {      if(window.addEventListener) {        window.addEventListener(&#39;load&#39;,          function(){ object[attribute] = val; }, false);      } else {        window.attachEvent(&#39;onload&#39;, function(){ object[attribute] = val; });      }    }  &lt;/script&gt;&lt;div id=&quot;navbar-iframe-container&quot;&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;        gapi.load(&quot;iframes-styles-bubble&quot;, function() {          if (window.iframes &amp;&amp; iframes.open) {            iframes.open(                &#39;//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&#39;,                {                  container: &quot;navbar-iframe-container&quot;,                  id: &quot;navbar-iframe&quot;                },                {                });          }        });      &lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function() {var script = document.createElement(&#39;script&#39;);script.type = &#39;text/javascript&#39;;script.src = &#39;//pagead2.googlesyndication.com/pagead/js/google_top_exp.js&#39;;var head = document.getElementsByTagName(&#39;head&#39;)[0];if (head) {head.appendChild(script);}})();&lt;/script&gt;</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'>&lt;script type=&quot;text/javascript&quot;&gt;    function setAttributeOnload(object, attribute, val) {      if(window.addEventListener) {        window.addEventListener(&#39;load&#39;,          function(){ object[attribute] = val; }, false);      } else {        window.attachEvent(&#39;onload&#39;, function(){ object[attribute] = val; });      }    }  &lt;/script&gt;&lt;div id=&quot;navbar-iframe-container&quot;&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;        gapi.load(&quot;iframes-styles-bubble&quot;, function() {          if (window.iframes &amp;&amp; iframes.open) {            iframes.open(                &#39;//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&#39;,                {                  container: &quot;navbar-iframe-container&quot;,                  id: &quot;navbar-iframe&quot;                },                {                });          }        });      &lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function() {var script = document.createElement(&#39;script&#39;);script.type = &#39;text/javascript&#39;;script.src = &#39;//pagead2.googlesyndication.com/pagead/js/google_top_exp.js&#39;;var head = document.getElementsByTagName(&#39;head&#39;)[0];if (head) {head.appendChild(script);}})();&lt;/script&gt;</b:includable>    </b:widget>  </b:section> -->

.

.

.

And the empty space disappears!Cool

 

Vijay Prabhu
from Mumbai
11 years ago

Brillaint RanjithSmile

Ranjith
from hyderabad
11 years ago

Thanks Vijay. 

Anunoy Samanta
Anunoy Samanta
from Bardhaman
11 years ago

Rajni, my boy.... It Worked Perfectly!!! Long live your Java with Us!!!

Ranjith
from hyderabad
11 years ago

Thanks AS. 


LockSign in to reply to this thread