Di template blog pilih edit HTML lalu temukan kode berikut
]]></b:skin>
dan copy paste CSS dibawah ini diatasnyaul.topnav { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; } ul.topnav li {float: left;} ul.topnav li a { display: inline-block; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; transition: 0.3s; font-size: 17px; } ul.topnav li a:hover {background-color: #555;} ul.topnav li.icon {display: none;} @media screen and (max-width:680px) { ul.topnav li:not(:first-child) {display: none;} ul.topnav li.icon { float: right; display: inline-block; } } @media screen and (max-width:680px) { ul.topnav.responsive {position: relative;} ul.topnav.responsive li.icon { position: absolute; right: 0; top: 0; } ul.topnav.responsive li { float: none; display: inline; } ul.topnav.responsive li a { display: block; text-align: left; } }
Jika sudah ... selanjutnya salin dan tempel kode berikut dibawah tag
<body>
<ul class="topnav" id="myTopnav"> <li><a href="https://www.infoalya.com/">Home</a></li> <li><a href="https://www.infoalya.com/p/isi.html">Daftar Isi</a></li> <li><a href="https://www.infoalya.com/p/contact-me.html">Contact</a></li> <li><a href="https://www.infoalya.com/p/blog-page_15.html">About</a></li> <li class="icon"> <a href="javascript:void(0);" onclick="myFunction()">☰</a> </li> </ul>
Langkah berikutnya copy paste kode dibawah ini diatas tag
</body>
<script> function myFunction() { var x = document.getElementById("myTopnav"); if (x.className === "topnav") { x.className += " responsive"; } else { x.className = "topnav"; } } </script>
Simpan template jika semua langkah telah selesai.