Kustomasi Tata Letak

Kustomasi tata letak kali ini adalah menghapus beberapa widget dan bagian yang tidak diperlukan supaya lebih efisien.

Untuk tujuan tersebut masuk ke Tema > Edit HTML.

Kustomasium-KustomasiTataLetak

Menghapus Widget Navbar

Cari dan hapus:

<b:section class='navbar' id='navbar' maxwidgets='1' name='Navbar' 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;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\x3d7004475105339476906\x26blogName\x3dKustomasium\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dDISABLED\x26layoutType\x3dLAYOUTS\x26searchRoot\x3dhttps://kustomasium.blogspot.com/search\x26blogLocale\x3din\x26v\x3d2\x26homepageUrl\x3dhttp://kustomasium.blogspot.com/\x26vt\x3d1891958312177032927&#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>

Menghapus bagian Seluruh Kolom dan Cross-column 2

Cari dan hapus:

<div class='tabs-outer'>
<div class='tabs-cap-top cap-top'>
<div class='cap-left'/>
<div class='cap-right'/>
</div>
<div class='fauxborder-left tabs-fauxborder-left'>
<div class='fauxborder-right tabs-fauxborder-right'/>
<div class='region-inner tabs-inner'>
<b:section class='tabs' id='crosscol' maxwidgets='1' name='Cross-Column' showaddelement='yes'/>
<b:section class='tabs' id='crosscol-overflow' name='Cross-Column 2' showaddelement='no'/>
</div>
</div>
<div class='tabs-cap-bottom cap-bottom'>
<div class='cap-left'/>
<div class='cap-right'/>
</div>
</div>

Menghapus bagian sidebar-right-2-1, sidebar-right-2-2, sidebar-right-3

Cari <macro:include id='main-column-right-sections' name='sections'> ganti <macro:param default='2' name='num'/> menjadi <macro:param default='1' name='num'/>.

Menghapus bagian footer-1, footer-2-1, footer-2-2

Cari <macro:include id='footer-sections' name='sections'> ganti <macro:param default='2' name='num'/> menjadi <macro:param default='0' name='num'/>.

Menghapus Widget Attribution

Cari dan hapus:

<b:widget id='Attribution1' locked='true' title='' type='Attribution'>
<b:widget-settings>
<b:widget-setting name='copyright'/>
</b:widget-settings>
<b:includable id='main'>
<div class='widget-content' style='text-align: center;'>
<b:if cond='data:attribution != &quot;&quot;'>
<data:attribution/>
</b:if>
</div>

<b:include name='quickedit'/>
</b:includable>
</b:widget>

Bonus:

Menambah widget di bagian sidebar

Cari <b:section-contents id='sidebar-right-1'> ganti dengan <b:section-contents id='sidebar-right-1' maxwidgets='' showaddelement='yes'>.

Menambah widget di bagian footer

Cari <b:section class='foot' id='footer-3' name='Footer' showaddelement='no'> ganti dengan <b:section class='foot' id='footer-3' name='Footer' maxwidgets='' showaddelement='yes'>.


Simpan perubahan.


Tampilan tata letak setelah perubahan

Kustomasium-KustomasiTataLetakSesudahPerubahan

Tidak ada komentar:

Posting Komentar

keyboard_arrow_up