Cara Menghapus Widget Navigasi Bar di Blog

Navigasi Bar merupakan widget bawaan blogger yang tampil di bagian atas blog. Sebagian besar pengguna blogger menghilangkan Navbar tersebut. Dan kita bisa menghapus Navbar tersebut yang setidaknya meringankan blog kita.



Langkah-Langkah Menghapus Navigasi Bar

  1. Pada dasbord blog, klik "Tema" atau "Template"
  2. Kemudian klik "Edit Tema"
  3. Cari kode berikut :
  4. <b:section class='navbar' id='navbar' maxwidgets='1' name='Navbar' showaddelement='no'>

  5. Apabila sudah ketemu hapus kode tersebut
    <b:section class='navbar' id='navbar' maxwidgets='1' name='Navbar' showaddelement='no'> sampai dengan kode </b:section>
    Kode Lengkapnya yang dihapus (hapus semuanya)
    
    <b:section class='navbar' id='navbar' maxwidgets='1' name='Navbar' showaddelement='no'>
        <b:widget id='Navbar1' locked='false' title='Navbar' type='Navbar' version='1'>
          <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;gapi.iframes:gapi.iframes.style.bubble&quot;, function() {
            if (gapi.iframes &amp;&amp; gapi.iframes.getContext) {
              gapi.iframes.getContext().openChild({
                  url: &#39;https://www.blogger.com/navbar.g?targetBlogID\x3d4509489309380891433\x26blogName\x3dbaladaka\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dDISABLED\x26layoutType\x3dLAYOUTS\x26searchRoot\x3dhttps://baladaka.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://baladaka.blogspot.com/\x26vt\x3d-310386436948037074&#39;,
                  where: document.getElementById(&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>
    

  6. Apabila anda tidak mau menghapus kode tersebut, anda bisa menonaktifkan kode tersebut dengan menambahkan
    kode <!-- di awal kode yang akan dinonaktifkan
    kode --> di akhir kode tersebut yang akan dinonaktifkan
    Kode selengkapnya Menonaktifkan Navbar :
    
    <!--<b:section class='navbar' id='navbar' maxwidgets='1' name='Navbar' showaddelement='no'>
        <b:widget id='Navbar1' locked='false' title='Navbar' type='Navbar' version='1'>
          <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;gapi.iframes:gapi.iframes.style.bubble&quot;, function() {
            if (gapi.iframes &amp;&amp; gapi.iframes.getContext) {
              gapi.iframes.getContext().openChild({
                  url: &#39;https://www.blogger.com/navbar.g?targetBlogID\x3d4509489309380891433\x26blogName\x3dbaladaka\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dDISABLED\x26layoutType\x3dLAYOUTS\x26searchRoot\x3dhttps://baladaka.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://baladaka.blogspot.com/\x26vt\x3d-310386436948037074&#39;,
                  where: document.getElementById(&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>-->
    

  7. Klik “Simpan Tema” atau “Simpan Template” dan ini merupakan menghilangkan Navbar secara permanen sehingga di “Tata Letak” Widget Navbar juga akan hilang. Selamat Mencoba.


Demikian Catatan Kecil tentang :
Terima kasih atas kunjungannya dan "Selamat Berkreasi Semoga Sukses"

Selanjutnya 
« Prev Post
 Sebelumnya
Next Post »

Catatan Terkait



Tidak ada komentar:

Posting Komentar

Silahkan tulis komentar / saran-sarang yang membangun di sini !

Cara Menghapus Widget Navigasi Bar di Blog