Cara Membuat Responsive Mega Menu di Blogger - Arlina Design
Kali ini Arlina Design akan berbagi Cara Membuat Responsive Mega Menu di Blogger. Seperti yang sobat tahu, Menu Navigasi adalah salah satu bagian yang penting dalam sebuah blog untuk memberikan informasi kepada pengunjung tentang apa saja konten yang ada di blog tersebut dan akan ditampilkan berupa link yang nantinya akan menunjukkan tiap halaman-halaman tertentu yang ada di blog.

Cara Membuat Responsive Mega Menu di Blogger

Yang akan saya bagikan ini adalah mega menu dengan off-canvas yang sudah responsive dengan tampilan yang cukup menarik dan juga sudah dilengkapi dengan fitur pencarian sehingga akan memudahkan pengunjung untuk mencari halaman yang ia cari. Nah, bagi yang ingin menambahkannya pada blog, silakan ikuti langkah-langkahnya di bawah ini.

Cara Membuat Responsive Mega Menu di Blogger


Perlu diketahui, jika sebelumnya sobat sudah memiliki menu navigasi bawaan template untuk menghindari terjadinya bentrok karena ada nama ID atau Class yang sama sebaiknya hapus atau ganti dengan menu ini.

Oke, pertama buka halaman Blogger > Klik menu Tema dan klik tombol Edit HTML > Tambahkan kode CSS ini sebelum kode </head>

<style type='text/css'>
/* Responsive Mega Menu by www.arlinadzgn.com */
#header-top{float:left}
#Header1 h1.title,#Header1 h2.title{margin:0 auto!important}
#Header1 h1.title a,#Header1 h2.title a{color:#fff}
.header_area{background:#3243db;position:fixed;width:100%;margin:auto;top:0;right:0;left:0;z-index:99;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.navigation{width:100%;height:70px;display:table;position:relative;font-family:inherit}
.navigation *{box-sizing:border-box;-webkit-tap-highlight-color:transparent;float:none}
.navigation-portrait{height:48px}
.navigation-fixed{position:fixed;top:0;left:0;z-index:19998}
.navigation-hidden{width:0!important;height:0!important;margin:0!important;padding:0!important}
.align-to-right{float:right}
.nav-header{float:left}
.navigation-hidden .nav-header{display:none}
.nav-brand{line-height:70px;padding:0;color:#fff;font-size:24px;text-decoration:none}
.nav-brand:hover,.nav-brand:focus{color:#fff}
.navigation-portrait .nav-brand{font-size:18px;line-height:48px}
.nav-logo&gt;img{height:48px;margin:11px auto;padding:0 15px;float:left}
.nav-logo:focus&gt;img{outline:initial}
.navigation-portrait .nav-logo&gt;img{height:36px;margin:6px auto 6px 15px;padding:0}
.nav-toggle{width:30px;height:30px;padding:6px 2px 0;position:absolute;top:50%;margin-top:-14px;right:0;display:none;cursor:pointer}
.nav-toggle:before{content:&quot;&quot;;position:absolute;width:24px;height:2px;background-color:#fff;border-radius:10px;box-shadow:0 .5em 0 0 #fff,0 1em 0 0 #fff}
.navigation-portrait .nav-toggle{display:block}
.navigation-portrait .nav-menus-wrapper{width:320px;height:100%;top:0;left:-400px;position:fixed;background-color:#fff;z-index:20000;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.2s;transition-timing-function:ease}
.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right{left:auto;right:-400px}
.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open{left:0}
.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right.nav-menus-wrapper-open{left:auto;right:0}
.nav-menus-wrapper-close-button{width:30px;height:30px;margin:10px 7px;display:none;float:right;color:#343a40;font-size:20px;cursor:pointer}
.navigation-portrait .nav-menus-wrapper-close-button{display:block}
.nav-menu{margin:0;padding:0;list-style:none;line-height:normal;font-size:0}
.navigation-portrait .nav-menu{width:100%}
.navigation-landscape .nav-menu.nav-menu-centered{float:none;text-align:center}
.navigation-landscape .nav-menu.nav-menu-centered&gt;li{float:none}
.nav-menu&gt;li{display:inline-block;float:left;text-align:left}
.navigation-portrait .nav-menu&gt;li{width:100%;position:relative;border-top:solid 1px #f0f0f0}
.navigation-portrait .nav-menu&gt;li:last-child{border-bottom:solid 1px #f0f0f0}
.nav-menu+.nav-menu&gt;li:first-child{border-top:none}
.nav-menu&gt;li&gt;a{height:70px;line-height:initial;margin:0;padding:26px 15px;display:inline-block;text-decoration:none;font-size:14px;color:#fff;transition:color .3s,background .3s}
.navigation-portrait .nav-menu&gt;li&gt;a{width:100%;height:auto;padding:12px 15px 12px 26px}
.nav-menu&gt;li:hover&gt;a,.nav-menu&gt;li.active&gt;a,.nav-menu&gt;li.focus&gt;a{background:rgba(0,0,0,0.1);color:#fff}
.nav-menu&gt;li&gt;a&gt;i,.nav-menu&gt;li&gt;a&gt;[class*=ion-]{width:18px;height:16px;line-height:16px;transform:scale(1.4)}
.nav-menu&gt;li&gt;a&gt;[class*=ion-]{width:16px;display:inline-block;transform:scale(1.8)}
.navigation-portrait .nav-menu.nav-menu-social{width:100%;text-align:center}
.nav-menu.nav-menu-social&gt;li{text-align:center;float:none;border:none!important}
.navigation-portrait .nav-menu.nav-menu-social&gt;li{width:auto}
.nav-menu.nav-menu-social&gt;li&gt;a&gt;[class*=ion-]{font-size:12px}
.nav-menu.nav-menu-social&gt;li&gt;a&gt;.fa{font-size:14px}
.navigation-portrait .nav-menu.nav-menu-social&gt;li&gt;a{padding:15px}
.submenu-indicator{margin-left:8px;margin-top:4px;float:right;transition:all .2s}
.navigation-portrait .submenu-indicator{width:54px;height:44px;margin-top:0;position:absolute;top:0;right:0;text-align:center;z-index:20000}
.submenu-indicator-chevron{height:6px;width:6px;display:block;border-style:solid;border-width:0 1px 1px 0;border-color:transparent #fff #fff transparent;transform:rotate(45deg);transition:border .2s}
.navigation-portrait .submenu-indicator-chevron{border-color:transparent #999 #999 transparent;position:absolute;top:18px;left:24px}
.navigation-portrait:hover .submenu-indicator-chevron{border-color:transparent #999 #999 transparent}
.navigation-portrait .submenu-indicator.submenu-indicator-up{transform:rotate(-180deg)}
.nav-dropdown&gt;li .submenu-indicator-chevron{border-color:transparent #999 #999 transparent}
.nav-overlay-panel{width:100%;height:100%;top:0;left:0;position:fixed;display:none;z-index:19999}
.no-scroll{width:100%;height:100%;overflow:hidden}
.nav-search{height:70px;float:right;z-index:19998}
.navigation-portrait .nav-search{height:48px;padding:0 10px;margin-right:32px}
.navigation-hidden .nav-search{display:none}
.nav-search-button{width:70px;height:70px;line-height:70px;text-align:center;cursor:pointer;background-color:rgba(0,0,0,0.1)}
.navigation-portrait .nav-search-button{width:50px;height:60px;line-height:60px;font-size:22px}
.nav-search-icon{width:14px;height:14px;margin:2px 8px 8px 4px;display:inline-block;vertical-align:middle;position:relative;color:#fff;text-align:left;text-indent:-9999px;border:2px solid;border-radius:50%;transform:rotate(-45deg)}
.nav-search-icon:after,.nav-search-icon:before{content:&#39;&#39;;pointer-events:none}
.nav-search-icon:before{width:2px;height:11px;top:11px;position:absolute;left:50%;border-radius:0 0 1px 1px;box-shadow:inset 0 0 0 32px;transform:translateX(-50%)}
.nav-search-button:hover .nav-search-icon{color:#fff}
.nav-search&gt;form{width:100%;height:100%;padding:0;display:none;position:absolute;left:0;top:0;background-color:#3243db;z-index:99}
.nav-search-inner{width:70%;height:70px;margin:auto;display:table}
.navigation-portrait .nav-search-inner{height:48px}
.nav-search-inner input[type=&quot;text&quot;],.nav-search-inner input[type=&quot;search&quot;]{height:70px;width:100%;margin:0;padding:0 12px;font-size:22px;text-align:center;color:#fff;outline:none;line-height:70px;border:none;background-color:transparent;transition:all .3s}
.navigation-portrait .nav-search-inner input[type=&quot;text&quot;],.navigation-portrait .nav-search-inner input[type=search]{height:48px;font-size:18px;line-height:48px}
.nav-search input[type=&quot;search&quot;]::placeholder{color:#fff;opacity:1}
.nav-search input[type=&quot;search&quot;]:-ms-input-placeholder{color:#fff}
.nav-search input[type=&quot;search&quot;]::-ms-input-placeholder{color:#fff}
.nav-search-close-button{width:28px;height:28px;display:block;position:absolute;right:20px;top:20px;line-height:normal;outline:none;color:rgba(255,255,255,.5);font-size:20px;cursor:pointer;text-align:center}
.navigation-portrait .nav-search-close-button{top:10px;right:14px}
.nav-button{margin:18px 15px 0;padding:8px 14px;display:inline-block;color:#fff;font-size:14px;text-align:center;text-decoration:none;border-radius:4px}
.nav-button:hover,.nav-button:focus{color:#fff;text-decoration:none}
.navigation-portrait .nav-button{width:calc(100% - 52px);margin:17px 26px}
.nav-text{margin:25px 15px;display:inline-block;color:#343a40;font-size:14px}
.navigation-portrait .nav-text{width:calc(100% - 52px);margin:12px 26px 0}
.navigation-portrait .nav-text+ul{margin-top:15px}
.nav-dropdown{min-width:180px;margin:0;padding:0;display:none;position:absolute;list-style:none;z-index:98;white-space:nowrap}
.navigation-portrait .nav-dropdown{width:100%;position:static;left:0}
.nav-dropdown .nav-dropdown{left:100%}
.nav-menu&gt;li&gt;.nav-dropdown{border-top:solid 1px #f0f0f0}
.nav-dropdown&gt;li{width:100%;float:left;clear:both;position:relative;text-align:left}
.nav-dropdown&gt;li&gt;a{width:100%;margin:auto;line-height:initial;padding:16px 20px;display:inline-block;text-decoration:none;float:left;font-size:13px;color:#343a40;background-color:#fdfdfd}
.nav-dropdown&gt;li:hover&gt;a,.nav-dropdown&gt;li.focus&gt;a{color:#27ae60}
.nav-dropdown.nav-dropdown-left{right:0}
.nav-dropdown&gt;li&gt;.nav-dropdown-left{left:auto;right:100%}
.navigation-landscape .nav-dropdown.nav-dropdown-left&gt;li&gt;a{text-align:right}
.navigation-portrait .nav-dropdown&gt;li&gt;a{padding:12px 20px 12px 30px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;a{padding-left:50px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;a{padding-left:70px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;a{padding-left:90px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;a{padding-left:110px}
.nav-dropdown .submenu-indicator{right:15px;top:10px;position:absolute}
.navigation-portrait .nav-dropdown .submenu-indicator{right:0;top:0}
.nav-dropdown .submenu-indicator .submenu-indicator-chevron{transform:rotate(-45deg)}
.navigation-portrait .nav-dropdown .submenu-indicator .submenu-indicator-chevron{transform:rotate(45deg)}
.nav-dropdown&gt;li:hover&gt;a .submenu-indicator-chevron,.nav-dropdown&gt;.focus&gt;a .submenu-indicator-chevron{border-color:transparent #27ae60 #27ae60 transparent}
.navigation-landscape .nav-dropdown.nav-dropdown-left .submenu-indicator{left:10px}
.navigation-landscape .nav-dropdown.nav-dropdown-left .submenu-indicator .submenu-indicator-chevron{transform:rotate(135deg)}
.nav-dropdown-horizontal{width:100%;left:0;background-color:#fdfdfd;border-top:solid 1px #f0f0f0}
.nav-dropdown-horizontal .nav-dropdown-horizontal{width:100%;top:100%;left:0}
.navigation-portrait .nav-dropdown-horizontal .nav-dropdown-horizontal{border-top:none}
.nav-dropdown-horizontal&gt;li{width:auto;clear:none;position:static}
.navigation-portrait .nav-dropdown-horizontal&gt;li{width:100%}
.nav-dropdown-horizontal&gt;li&gt;a{position:relative}
.nav-dropdown-horizontal .submenu-indicator{height:18px;top:11px;transform:rotate(90deg)}
.navigation-portrait .nav-dropdown-horizontal .submenu-indicator{height:42px;top:0;transform:rotate(0deg)}
.navigation-portrait .nav-dropdown-horizontal .submenu-indicator.submenu-indicator-up{transform:rotate(-180deg)}
.megamenu-panel{width:100%;padding:15px;display:none;position:absolute;font-size:14px;z-index:98;text-align:left;color:inherit;border-top:solid 1px #f0f0f0;background-color:#fff;box-shadow:0 15px 20px -5px rgba(0,0,0,.2)}
.navigation-portrait .megamenu-panel{padding:25px;position:static;display:block}
.megamenu-panel [class*=container]{width:100%}
.megamenu-panel [class*=&quot;container&quot;] [class*=&quot;col-&quot;]{padding:0}
.megamenu-panel-half{width:50%}
.megamenu-panel-quarter{width:25%}
.navigation-portrait .megamenu-panel-half,.navigation-portrait .megamenu-panel-quarter{width:100%}
.megamenu-panel-row{width:100%}
.megamenu-panel-row:before,.megamenu-panel-row:after{display:table;content:&quot;&quot;;line-height:0}
.megamenu-panel-row:after{clear:both}
.megamenu-panel-row [class*=col-]{display:block;min-height:20px;float:left;margin-left:3%}
.megamenu-panel-row [class*=col-]:first-child{margin-left:0}
.navigation-portrait .megamenu-panel-row [class*=col-]{float:none;display:block;width:100%!important;margin-left:0;margin-top:15px}
.navigation-portrait .megamenu-panel-row:first-child [class*=col-]:first-child{margin-top:0}
.megamenu-panel-row .col-1{width:5.583333333333%}
.megamenu-panel-row .col-2{width:14.166666666666%}
.megamenu-panel-row .col-3{width:22.75%}
.megamenu-panel-row .col-4{width:31.333333333333%}
.megamenu-panel-row .col-5{width:39.916666666667%}
.megamenu-panel-row .col-6{width:48.5%}
.megamenu-panel-row .col-7{width:57.083333333333%}
.megamenu-panel-row .col-8{width:65.666666666667%}
.megamenu-panel-row .col-9{width:74.25%}
.megamenu-panel-row .col-10{width:82.833333333334%}
.megamenu-panel-row .col-11{width:91.416666666667%}
.megamenu-panel-row .col-12{width:100%}
.megamenu-tabs{width:100%;float:left;display:block}
.megamenu-tabs-nav{width:20%;margin:0;padding:0;float:left;list-style:none}
.navigation-portrait .megamenu-tabs-nav{width:100%}
.megamenu-tabs-nav&gt;li&gt;a{width:100%;padding:10px 16px;float:left;font-size:13px;text-decoration:none;color:#343a40;border:solid 1px #eff0f2;outline:0;background-color:#fff}
.megamenu-tabs-nav&gt;li.active a,.megamenu-tabs-nav&gt;li:hover a{background-color:#f5f5f5}
.megamenu-tabs-pane{width:80%;min-height:30px;padding:20px;float:right;display:none;font-size:13px;color:#343a40;border:solid 1px #eff0f2;background-color:#fff}
.megamenu-tabs-pane.active{display:block}
.navigation-portrait .megamenu-tabs-pane{width:100%}
.megamenu-lists{width:100%;display:table}
.megamenu-list{width:100%;margin:0 0 15px;padding:0;display:inline-block;float:left;list-style:none;text-align:left}
.megamenu-list:last-child{margin:0;border:none}
.navigation-landscape .megamenu-list{height:initial;margin:-15px 0;padding:20px 0;border-right:solid 1px #f0f0f0}
.navigation-landscape .megamenu-list:last-child{border:none}
.megamenu-list&gt;li&gt;a{width:100%;margin:auto;line-height:initial;padding:10px 15px;display:inline-block;color:#343a40;text-decoration:none;font-size:13px}
.megamenu-list&gt;li&gt;a:hover{background-color:#27ae60;color:#fff}
.megamenu-list&gt;li.megamenu-list-title&gt;a{font-size:12px;font-weight:500;text-transform:uppercase;color:#343a40}
.megamenu-list&gt;li.megamenu-list-title&gt;a:hover{background-color:transparent}
.navigation-landscape .list-col-2{width:50%}
.navigation-landscape .list-col-3{width:33%}
.navigation-landscape .list-col-4{width:25%}
.navigation-landscape .list-col-5{width:20%}
.nav-dropdown &gt; li &gt; a{color:#343a40;padding:10px 20px;border-bottom:1px solid #f6f6f6}
.nav-dropdown &gt; li &gt; a:hover,.nav-dropdown &gt; li &gt; a:focus{color:#27ae60}
.main_header_area.sticky{width:100%;position:fixed;top:0;left:0;background-color:#fff;z-index:9999;box-shadow:0 5px 30px rgba(0,0,0,0.1)}
.transparent-menu{position:absolute;width:100%;left:0;top:0;z-index:99}
.navigation-portrait .nav-menu &gt; li &gt; a{color:#222;width:100%;height:auto;padding:10px 10px 10px 30px}
/* Media Query Mega Menu */
@media only screen and (min-width:320px) and (max-width:767px){
.nav-dropdown &gt; li &gt; a,.megamenu-list &gt; li &gt; a{width:65%}}
@media (max-width:767px){
.megamenu-list{float:none}}
.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}
@media (min-width:576px){
.container{max-width:540px}}
@media (min-width:768px){
.container{max-width:720px}}
@media (min-width:992px){
.container{max-width:960px}}
@media (min-width:1200px){
.container{max-width:1140px}}
</style>

Selanjutnya hapus widget header yang ada di dalam template karena di dalam markup mega menu ini sudah dilengkapi widget header. Widget header biasanya seperti pada kode di bawah ini

<b:section class='header-top' id='header-top' maxwidgets='1' showaddelement='no'>
   <b:widget id='Header1' locked='true' title='Arlina Design (Header)' type='Header' version='1'>
      <b:widget-settings>
         <b:widget-setting name='displayUrl'/>
         <b:widget-setting name='displayHeight'>0</b:widget-setting>
         <b:widget-setting name='sectionWidth'>273</b:widget-setting>
         <b:widget-setting name='useImage'>false</b:widget-setting>
         <b:widget-setting name='shrinkToFit'>false</b:widget-setting>
         <b:widget-setting name='imagePlacement'>BEHIND</b:widget-setting>
         <b:widget-setting name='displayWidth'>0</b:widget-setting>
      </b:widget-settings>
      <b:includable id='main'>
         <b:if cond='data:useImage'>
            <b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
               <!--
                  Show image as background to text. You can't really calculate the width
                  
                  reliably in JS because margins are not taken into account by any of
                  clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
                  width if the user is using shrink to fit.
                  This results in a margin-width's worth of pixels being cropped. If the
                  user is not using shrink to fit then we expand the header.
                  -->
               <b:if cond='data:mobile'>
                  <div id='header-inner'>
                     <div class='titlewrapper' style='background: transparent'>
                        <h1 class='title' style='background: transparent; border-width: 0px'>
                           <b:include name='title'/>
                        </h1>
                     </div>
                     <b:include name='description'/>
                  </div>
                  <b:else/>
                  <div expr:style='&quot;background-image: url(\&quot;&quot; + data:sourceUrl + &quot;\&quot;); &quot;                      + &quot;background-position: &quot;                      + data:backgroundPositionStyleStr + &quot;; &quot;                      + data:widthStyleStr                      + &quot;min-height: &quot; + data:height                      + &quot;_height: &quot; + data:height                      + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
                     <div class='titlewrapper' style='background: transparent'>
                        <h1 class='title' style='background: transparent; border-width: 0px'>
                           <b:include name='title'/>
                        </h1>
                     </div>
                     <b:include name='description'/>
                  </div>
               </b:if>
               <b:else/>
               <!--Show the image only-->
               <div id='header-inner'>
                  <h1><a expr:href='data:blog.homepageUrl' style='display: block'>
                     <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
                     </a>
                  </h1>
                  <!--Show the description-->
                  <b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
                     <b:include name='description'/>
                  </b:if>
               </div>
            </b:if>
            <b:else/>
            <!--No header image -->
            <div id='header-inner'>
               <div class='titlewrapper'>
                  <h1 class='title'>
                     <b:include name='title'/>
                  </h1>
               </div>
               <b:include name='description'/>
            </div>
         </b:if>
      </b:includable>
      <b:includable id='description'>
         <h2 class='site-descriptionindz'>
            <data:description/>
         </h2>
      </b:includable>
      <b:includable id='title'>
         <b:if cond='data:blog.pageType != &quot;item&quot;'>
            <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
               <h1 class='title'>
                  <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                     <span itemprop='name'>
                        <data:title/>
                     </span>
                  </a>
               </h1>
               <b:else/>
               <h2 class='title'>
                  <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                     <span itemprop='name'>
                        <data:title/>
                     </span>
                  </a>
               </h2>
            </b:if>
            <b:else/>
            <h2 class='title'>
               <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                  <span itemprop='name'>
                     <data:title/>
                  </span>
               </a>
            </h2>
         </b:if>
      </b:includable>
   </b:widget>
</b:section>

Setelah widget header dihapus, kemudian tambahkan markup dari mega menu ini bebas diantara tag pembuka <body> dan tag penutup </body>

<header class='header_area' itemscope='itemscope' itemtype='https://schema.org/WPHeader'>
   <div class='main_header_area animated'>
   <div class='container'>
      <nav class='navigation' id='navigation1'>
         <!-- Logo Area Start -->
         <div class='nav-header'>
            <b:section class='header-top' id='header-top' maxwidgets='1' showaddelement='no'>
              <b:widget id='Header1' locked='true' title='Arlina Design (Header)' type='Header' version='1'>
                <b:widget-settings>
                  <b:widget-setting name='displayUrl'/>
                  <b:widget-setting name='displayHeight'>0</b:widget-setting>
                  <b:widget-setting name='sectionWidth'>273</b:widget-setting>
                  <b:widget-setting name='useImage'>false</b:widget-setting>
                  <b:widget-setting name='shrinkToFit'>false</b:widget-setting>
                  <b:widget-setting name='imagePlacement'>BEHIND</b:widget-setting>
                  <b:widget-setting name='displayWidth'>0</b:widget-setting>
                </b:widget-settings>
                <b:includable id='main'>
                     <b:if cond='data:useImage'>
                        <b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
                           <!--
                              Show image as background to text. You can't really calculate the width
                              
                              reliably in JS because margins are not taken into account by any of
                              clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
                              width if the user is using shrink to fit.
                              This results in a margin-width's worth of pixels being cropped. If the
                              user is not using shrink to fit then we expand the header.
                              -->
                           <b:if cond='data:mobile'>
                              <div id='header-inner'>
                                 <div class='titlewrapper' style='background: transparent'>
                                    <h1 class='title' style='background: transparent; border-width: 0px'>
                                       <b:include name='title'/>
                                    </h1>
                                 </div>
                                 <b:include name='description'/>
                              </div>
                              <b:else/>
                              <div expr:style='&quot;background-image: url(\&quot;&quot; + data:sourceUrl + &quot;\&quot;); &quot;                      + &quot;background-position: &quot;                      + data:backgroundPositionStyleStr + &quot;; &quot;                      + data:widthStyleStr                      + &quot;min-height: &quot; + data:height                      + &quot;_height: &quot; + data:height                      + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
                                 <div class='titlewrapper' style='background: transparent'>
                                    <h1 class='title' style='background: transparent; border-width: 0px'>
                                       <b:include name='title'/>
                                    </h1>
                                 </div>
                                 <b:include name='description'/>
                              </div>
                           </b:if>
                           <b:else/>
                           <!--Show the image only-->
                           <div id='header-inner'>
                              <h1><a expr:href='data:blog.homepageUrl' style='display: block'>
                                 <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
                                 </a>
                              </h1>
                              <!--Show the description-->
                              <b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
                                 <b:include name='description'/>
                              </b:if>
                           </div>
                        </b:if>
                        <b:else/>
                        <!--No header image -->
                        <div id='header-inner'>
                           <div class='titlewrapper'>
                              <h1 class='title'>
                                 <b:include name='title'/>
                              </h1>
                           </div>
                           <b:include name='description'/>
                        </div>
                     </b:if>
                  </b:includable>
                <b:includable id='description'>
                     <h2 class='site-descriptionindz'>
                        <data:description/>
                     </h2>
                  </b:includable>
                <b:includable id='title'>
                     <b:if cond='data:blog.pageType != &quot;item&quot;'>
                        <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
                           <h1 class='title'>
                              <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                                 <span itemprop='name'>
                                    <data:title/>
                                 </span>
                              </a>
                           </h1>
                           <b:else/>
                           <h2 class='title'>
                              <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                                 <span itemprop='name'>
                                    <data:title/>
                                 </span>
                              </a>
                           </h2>
                        </b:if>
                        <b:else/>
                        <h2 class='title'>
                           <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                              <span itemprop='name'>
                                 <data:title/>
                              </span>
                           </a>
                        </h2>
                     </b:if>
                  </b:includable>
              </b:widget>
            </b:section>
            <div class='nav-toggle'/>
            </div>
            <!-- Search panel Start -->
            <div class='nav-search'>
               <div class='nav-search-button'>
                  <i class='nav-search-icon'/>
               </div>
               <form action='/search' id='search-form' method='get'>
                  <div class='nav-search-inner'>
                     <input name='search' placeholder='Search Here' type='search'/>
                     <input name='max-results' type='hidden' value='6'/>
                  </div>
               </form>
            </div>
            <!-- Main Menus Wrapper -->
            <div class='nav-menus-wrapper'>
               <ul class='nav-menu align-to-right'>
                  <li>
                     <a href='#'>Home</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Business 1</a></li>
                              <li><a href='#'>Business 2</a></li>
                              <li><a href='#'>Business 3</a></li>
                              <li><a href='#'>Blogger 1</a></li>
                              <li><a href='#'>Blogger 2</a></li>
                              <li><a href='#'>Creative Light</a></li>
                              <li><a href='#'>Creative Dark</a></li>
                              <li><a href='#'>Personal Portfolio</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Vimeo Video</a></li>
                              <li><a href='#'>YouTube Video</a></li>
                              <li><a href='#'>HTML5 Local Video</a></li>
                              <li><a href='#'>Agency</a></li>
                              <li><a href='#'>App Showcase</a></li>
                              <li><a href='#'>Creative</a></li>
                              <li><a href='#'>Business</a></li>
                              <li><a href='#'>Education</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Fitness &amp; Gym</a></li>
                              <li><a href='#'>Gardening</a></li>
                              <li><a href='#'>Hosting</a></li>
                              <li><a href='#'>HTML5 Video</a></li>
                              <li><a href='#'>Medical</a></li>
                              <li><a href='#'>Minimal Portfolio</a></li>
                              <li><a href='#'>Photography</a></li>
                              <li><a href='#'>Product Showcase</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Restaurant</a></li>
                              <li><a href='#'>Resume &amp; CV</a></li>
                              <li><a href='#'>Service Landing</a></li>
                              <li><a href='#'>Slideshows</a></li>
                              <li><a href='#'>Spa &amp; Beauty</a></li>
                              <li><a href='#'>Startup</a></li>
                              <li><a href='#'>Vimeo Video</a></li>
                              <li><a href='#'>YouTube Video</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li>
                     <a href='#'>Level 1</a>
                     <ul class='nav-dropdown'>
                        <li>
                           <a href='#'>Header</a>
                           <ul class='nav-dropdown'>
                              <li><a href='#'>Simple</a></li>
                              <li><a href='#'>Two Menus</a></li>
                              <li><a href='#'>Centered</a></li>
                              <li><a href='#'>Search Panel</a></li>
                              <li><a href='#'>Button &amp; Text</a></li>
                              <li><a href='#'>Dropdown</a></li>
                              <li><a href='#'>Horizontal Dropdown</a></li>
                              <li><a href='#'>Megamenu List</a></li>
                              <li><a href='#'>Megamenu Tabs</a></li>
                              <li><a href='#'>Social Links</a></li>
                              <li><a href='#'>Always Hidden</a></li>
                              <li><a href='#'>Icons</a></li>
                              <li><a href='#'>Striped Skin</a></li>
                              <li><a href='#'>Rounded Skin</a></li>
                              <li><a href='#'>Box Skin</a></li>
                           </ul>
                        </li>
                        <li>
                           <a href='#'>Level 2</a>
                           <ul class='nav-dropdown'>
                              <li><a href='#'>Contact Layout 1</a></li>
                              <li><a href='#'>Contact Layout 2</a></li>
                              <li><a href='#'>Contact Layout 3</a></li>
                              <li>
                                 <a href='#'>Level 3</a>
                                 <ul class='nav-dropdown'>
                                    <li><a href='#'>Contact Layout 1</a></li>
                                    <li><a href='#'>Contact Layout 2</a></li>
                                    <li><a href='#'>Contact Layout 3</a></li>
                                    <li><a href='#'>Contact Layout 4</a></li>
                                    <li><a href='#'>Contact Layout 5</a></li>
                                    <li><a href='#'>Contact Layout 6</a></li>
                                    <li><a href='#'>Contact Layout 7</a></li>
                                 </ul>
                              </li>
                              <li><a href='#'>Contact Layout 5</a></li>
                              <li><a href='#'>Contact Layout 6</a></li>
                              <li><a href='#'>Contact Layout 7</a></li>
                           </ul>
                        </li>
                        <li>
                           <a href='#'>Coming Soon</a>
                           <ul class='nav-dropdown'>
                              <li><a href='#'>Coming Soon - 1</a></li>
                              <li><a href='#'>Coming Soon - 2</a></li>
                              <li><a href='#'>Coming Soon - 3</a></li>
                              <li><a href='#'>Coming Soon - 4</a></li>
                              <li><a href='#'>Coming Soon - 5</a></li>
                           </ul>
                        </li>
                        <li><a href='#'>Premium Sliders</a></li>
                        <li><a href='#'>Shortcodes</a></li>
                        <li><a href='#'>Breadcumb</a></li>
                        <li><a href='#'>Footer</a></li>
                        <li><a href='#'>Icons</a></li>
                        <li><a href='#'>Buttons</a></li>
                        <li><a href='#'>Call to Action</a></li>
                        <li><a href='#'>Google Maps</a></li>
                        <li><a href='#'>Pie &amp; Skills</a></li>
                        <li><a href='#'>Ratings</a></li>
                        <li><a href='#'>Vector Maps</a></li>
                     </ul>
                  </li>
                  <li>
                     <a href='#'>Pages</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-3'>
                              <li><a href='#'>About Us 1</a></li>
                              <li><a href='#'>About Us 2</a></li>
                              <li><a href='#'>About Us 3</a></li>
                              <li><a href='#'>Service Layout 1</a></li>
                              <li><a href='#'>Service Layout 2</a></li>
                              <li><a href='#'>Service Layout 3</a></li>
                              <li><a href='#'>404 Layout 1</a></li>
                              <li><a href='#'>404 Layout 2</a></li>
                              <li><a href='#'>404 Layout 3</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-3'>
                              <li><a href='#'>Coming Soon Layout 1</a></li>
                              <li><a href='#'>Coming Soon Layout 2</a></li>
                              <li><a href='#'>Coming Soon Layout 3</a></li>
                              <li><a href='#'>Coming Soon Layout 4</a></li>
                              <li><a href='#'>Coming Soon Layout 5</a></li>
                              <li><a href='#'>500 Error</a></li>
                              <li><a href='#'>Empty Page</a></li>
                              <li><a href='#'>FAQ</a></li>
                              <li><a href='#'>Search Result</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-3'>
                              <li><a href='#'>Contact Layout 1</a></li>
                              <li><a href='#'>Contact Layout 2</a></li>
                              <li><a href='#'>Contact Layout 3</a></li>
                              <li><a href='#'>Contact Layout 4</a></li>
                              <li><a href='#'>Contact Layout 5</a></li>
                              <li><a href='#'>Contact Layout 6</a></li>
                              <li><a href='#'>Contact Layout 7</a></li>
                              <li><a href='#'>Subscribe Newsletter</a></li>
                              <li><a href='#'>Under Maintenance</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li>
                     <a href='#'>Portfolio</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Masonary</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Masonary No Gutter</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Grid</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Grid No Gutter</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Portfolio Details</a></li>
                              <li><a href='#'>Embed Video</a></li>
                              <li><a href='#'>Masonary Thumb</a></li>
                              <li><a href='#'>Single Thumb</a></li>
                              <li><a href='#'>Slider Gallery</a></li>
                              <li><a href='#'>YouTube Video</a></li>
                              <li><a href='#'>Vimeo Video</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li>
                     <a href='#'>Blog</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Masonary Layout</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Grid Layout</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Sidebar Layout</a></li>
                              <li><a href='#'>Left Sidebar Grid</a></li>
                              <li><a href='#'>Left Sidebar Masonary</a></li>
                              <li><a href='#'>Right Sidebar Grid</a></li>
                              <li><a href='#'>Right Sidebar Masonary</a></li>
                              <li><a href='#'>No Sidebar</a></li>
                              <li><a href='#'>Both Side Sidebar</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Blog Details</a></li>
                              <li><a href='#'>Single Blog Layout 1</a></li>
                              <li><a href='#'>Single Blog Layout 2</a></li>
                              <li><a href='#'>Single Blog Layout 3</a></li>
                              <li><a href='#'>Single Blog Layout 4</a></li>
                              <li><a href='#'>Single Blog Layout 5</a></li>
                              <li><a href='#'>Single Blog Layout 6</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li><a href='#'>Shortcodes</a></li>
                  <li><a href='#'>One Page</a></li>
               </ul>
            </div>
      </nav>
      </div>
   </div>
</header>

Edit bagian-bagian yang ada di dalam menu sesuai kebutuhan

Selanjutnya, tambahkan kode ini sebelum kode </body>

<script type='text/javascript'>
//<![CDATA[
// Responsive Mega Menu by www.arlinadzgn.com
!function(n,i,e,a){n.navigation=function(t,s){var o={responsive:!0,mobileBreakpoint:991,showDuration:200,hideDuration:200,showDelayDuration:0,hideDelayDuration:0,submenuTrigger:"hover",effect:"fade",submenuIndicator:!0,submenuIndicatorTrigger:!1,hideSubWhenGoOut:!0,visibleSubmenusOnMobile:!1,fixed:!1,overlay:!0,overlayColor:"rgba(0, 0, 0, 0.5)",hidden:!1,hiddenOnMobile:!1,offCanvasSide:"left",offCanvasCloseButton:!0,animationOnShow:"",animationOnHide:"",onInit:function(){},onLandscape:function(){},onPortrait:function(){},onShowOffCanvas:function(){},onHideOffCanvas:function(){}},r=this,u=Number.MAX_VALUE,d=1,l="click.nav touchstart.nav",f="mouseenter focusin",c="mouseleave focusout";r.settings={};n(t),t=t;n(t).find(".nav-search").length>0&&n(t).find(".nav-search").find("form").prepend("<span class='nav-search-close-button' tabindex='0'>&#10005;</span>"),r.init=function(){r.settings=n.extend({},o,s),r.settings.offCanvasCloseButton&&n(t).find(".nav-menus-wrapper").prepend("<span class='nav-menus-wrapper-close-button'>&#10005;</span>"),"right"==r.settings.offCanvasSide&&n(t).find(".nav-menus-wrapper").addClass("nav-menus-wrapper-right"),r.settings.hidden&&(n(t).addClass("navigation-hidden"),r.settings.mobileBreakpoint=99999),v(),r.settings.fixed&&n(t).addClass("navigation-fixed"),n(t).find(".nav-toggle").on("click touchstart",function(n){n.stopPropagation(),n.preventDefault(),r.showOffcanvas(),s!==a&&r.callback("onShowOffCanvas")}),n(t).find(".nav-menus-wrapper-close-button").on("click touchstart",function(){r.hideOffcanvas(),s!==a&&r.callback("onHideOffCanvas")}),n(t).find(".nav-search-button, .nav-search-close-button").on("click touchstart keydown",function(i){i.stopPropagation(),i.preventDefault();var e=i.keyCode||i.which;"click"===i.type||"touchstart"===i.type||"keydown"===i.type&&13==e?r.toggleSearch():9==e&&n(i.target).blur()}),n(t).find(".megamenu-tabs").length>0&&w(),n(i).resize(function(){r.initNavigationMode(g()),C(),r.settings.hiddenOnMobile&&m()}),r.initNavigationMode(g()),r.settings.hiddenOnMobile&&m(),s!==a&&r.callback("onInit")};var h=function(){n(t).find(".nav-submenu").hide(0),n(t).find("li").removeClass("focus")},v=function(){n(t).find("li").each(function(){n(this).children(".nav-dropdown,.megamenu-panel").length>0&&(n(this).children(".nav-dropdown,.megamenu-panel").addClass("nav-submenu"),r.settings.submenuIndicator&&n(this).children("a").append("<span class='submenu-indicator'><span class='submenu-indicator-chevron'></span></span>"))})},m=function(){n(t).hasClass("navigation-portrait")?n(t).addClass("navigation-hidden"):n(t).removeClass("navigation-hidden")};r.showSubmenu=function(i,e){g()>r.settings.mobileBreakpoint&&n(t).find(".nav-search").find("form").fadeOut(),"fade"==e?n(i).children(".nav-submenu").stop(!0,!0).delay(r.settings.showDelayDuration).fadeIn(r.settings.showDuration).removeClass(r.settings.animationOnHide).addClass(r.settings.animationOnShow):n(i).children(".nav-submenu").stop(!0,!0).delay(r.settings.showDelayDuration).slideDown(r.settings.showDuration).removeClass(r.settings.animationOnHide).addClass(r.settings.animationOnShow),n(i).addClass("focus")},r.hideSubmenu=function(i,e){"fade"==e?n(i).find(".nav-submenu").stop(!0,!0).delay(r.settings.hideDelayDuration).fadeOut(r.settings.hideDuration).removeClass(r.settings.animationOnShow).addClass(r.settings.animationOnHide):n(i).find(".nav-submenu").stop(!0,!0).delay(r.settings.hideDelayDuration).slideUp(r.settings.hideDuration).removeClass(r.settings.animationOnShow).addClass(r.settings.animationOnHide),n(i).removeClass("focus").find(".focus").removeClass("focus")};var p=function(){n("body").removeClass("no-scroll"),r.settings.overlay&&n(t).find(".nav-overlay-panel").fadeOut(400,function(){n(this).remove()})};r.showOffcanvas=function(){n("body").addClass("no-scroll"),r.settings.overlay&&(n(t).append("<div class='nav-overlay-panel'></div>"),n(t).find(".nav-overlay-panel").css("background-color",r.settings.overlayColor).fadeIn(300).on("click touchstart",function(n){r.hideOffcanvas()})),"left"==r.settings.offCanvasSide?n(t).find(".nav-menus-wrapper").css("transition-property","left").addClass("nav-menus-wrapper-open"):n(t).find(".nav-menus-wrapper").css("transition-property","right").addClass("nav-menus-wrapper-open")},r.hideOffcanvas=function(){n(t).find(".nav-menus-wrapper").removeClass("nav-menus-wrapper-open").on("webkitTransitionEnd moztransitionend transitionend oTransitionEnd",function(){n(t).find(".nav-menus-wrapper").css("transition-property","none").off()}),p()},r.toggleOffcanvas=function(){g()<=r.settings.mobileBreakpoint&&(n(t).find(".nav-menus-wrapper").hasClass("nav-menus-wrapper-open")?(r.hideOffcanvas(),s!==a&&r.callback("onHideOffCanvas")):(r.showOffcanvas(),s!==a&&r.callback("onShowOffCanvas")))},r.toggleSearch=function(){"none"==n(t).find(".nav-search").find("form").css("display")?(n(t).find(".nav-search").find("form").fadeIn(200),n(t).find(".nav-search").find("input").focus()):(n(t).find(".nav-search").find("form").fadeOut(200),n(t).find(".nav-search").find("input").blur())},r.initNavigationMode=function(i){r.settings.responsive?(i<=r.settings.mobileBreakpoint&&u>r.settings.mobileBreakpoint&&(n(t).addClass("navigation-portrait").removeClass("navigation-landscape"),O(),s!==a&&r.callback("onPortrait")),i>r.settings.mobileBreakpoint&&d<=r.settings.mobileBreakpoint&&(n(t).addClass("navigation-landscape").removeClass("navigation-portrait"),y(),p(),r.hideOffcanvas(),s!==a&&r.callback("onLandscape")),u=i,d=i):(n(t).addClass("navigation-landscape"),y(),s!==a&&r.callback("onLandscape"))};var g=function(){return i.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},b=function(){n(t).find(".nav-menu").find("li, a").off(l).off(f).off(c)},C=function(){if(g()>r.settings.mobileBreakpoint){var i=n(t).outerWidth(!0);n(t).find(".nav-menu").children("li").children(".nav-submenu").each(function(){n(this).parent().position().left+n(this).outerWidth()>i?n(this).css("right",0):n(this).css("right","auto")})}},w=function(){function i(i){var e=n(i).children(".megamenu-tabs-nav").children("li"),a=n(i).children(".megamenu-tabs-pane");n(e).on("click.tabs touchstart.tabs",function(i){i.stopPropagation(),i.preventDefault(),n(e).removeClass("active"),n(this).addClass("active"),n(a).hide(0).removeClass("active"),n(a[n(this).index()]).show(0).addClass("active")})}if(n(t).find(".megamenu-tabs").length>0)for(var e=n(t).find(".megamenu-tabs"),a=0;a<e.length;a++)i(e[a])},y=function(){b(),h(),navigator.userAgent.match(/Mobi/i)||navigator.maxTouchPoints>0||"click"==r.settings.submenuTrigger?n(t).find(".nav-menu, .nav-dropdown").children("li").children("a").on(l,function(e){if(r.hideSubmenu(n(this).parent("li").siblings("li"),r.settings.effect),n(this).closest(".nav-menu").siblings(".nav-menu").find(".nav-submenu").fadeOut(r.settings.hideDuration),n(this).siblings(".nav-submenu").length>0){if(e.stopPropagation(),e.preventDefault(),"none"==n(this).siblings(".nav-submenu").css("display"))return r.showSubmenu(n(this).parent("li"),r.settings.effect),C(),!1;if(r.hideSubmenu(n(this).parent("li"),r.settings.effect),"_blank"===n(this).attr("target")||"blank"===n(this).attr("target"))i.open(n(this).attr("href"));else{if("#"===n(this).attr("href")||""===n(this).attr("href")||"javascript:void(0)"===n(this).attr("href"))return!1;i.location.href=n(this).attr("href")}}}):n(t).find(".nav-menu").find("li").on(f,function(){r.showSubmenu(this,r.settings.effect),C()}).on(c,function(){r.hideSubmenu(this,r.settings.effect)}),r.settings.hideSubWhenGoOut&&n("html").on("click.body touchstart.body",function(i){0===n(i.target).closest(".navigation").length&&(n(t).find(".nav-submenu").fadeOut(),n(t).find(".focus").removeClass("focus"),n(t).find(".nav-search").find("form").fadeOut())})},O=function(){b(),h(),r.settings.visibleSubmenusOnMobile?n(t).find(".nav-submenu").show(0):(n(t).find(".submenu-indicator").removeClass("submenu-indicator-up"),r.settings.submenuIndicator&&r.settings.submenuIndicatorTrigger?n(t).find(".submenu-indicator").on(l,function(i){return i.stopPropagation(),i.preventDefault(),r.hideSubmenu(n(this).parent("a").parent("li").siblings("li"),"slide"),r.hideSubmenu(n(this).closest(".nav-menu").siblings(".nav-menu").children("li"),"slide"),"none"==n(this).parent("a").siblings(".nav-submenu").css("display")?(n(this).addClass("submenu-indicator-up"),n(this).parent("a").parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),n(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up"),r.showSubmenu(n(this).parent("a").parent("li"),"slide"),!1):(n(this).parent("a").parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),void r.hideSubmenu(n(this).parent("a").parent("li"),"slide"))}):n(t).find(".nav-menu, .nav-dropdown").children("li").children("a").on(l,function(e){if(e.stopPropagation(),e.preventDefault(),r.hideSubmenu(n(this).parent("li").siblings("li"),r.settings.effect),r.hideSubmenu(n(this).closest(".nav-menu").siblings(".nav-menu").children("li"),"slide"),"none"==n(this).siblings(".nav-submenu").css("display"))return n(this).children(".submenu-indicator").addClass("submenu-indicator-up"),n(this).parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),n(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up"),r.showSubmenu(n(this).parent("li"),"slide"),!1;if(n(this).parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),r.hideSubmenu(n(this).parent("li"),"slide"),"_blank"===n(this).attr("target")||"blank"===n(this).attr("target"))i.open(n(this).attr("href"));else{if("#"===n(this).attr("href")||""===n(this).attr("href")||"javascript:void(0)"===n(this).attr("href"))return!1;i.location.href=n(this).attr("href")}}))};r.callback=function(n){s[n]!==a&&s[n].call(t)},r.init()},n.fn.navigation=function(i){return this.each(function(){if(a===n(this).data("navigation")){var e=new n.navigation(this,i);n(this).data("navigation",e)}})}}(jQuery,window,document),function(n){"use strict";n(window);n.fn.navigation&&(n("#navigation1").navigation(),n("#always-hidden-nav").navigation({hidden:!0}))}(jQuery);
//]]>
</script>

Kemudian klik tombol Simpan tema dan selesai! Untuk melihat hasilnya bisa cek pada link halaman demo berikut ini


Menu ini akan sangat cocok bagi sobat yang memiliki blog dengan banyak pilihan label atau sebagai katalog menu yang membutuhkan ruang link yang lebih spesifik.

Cukup sekian dari saya tentang Cara Membuat Responsive Mega Menu di Blogger. Semoga bermanfaat dan wassalam.

Cara Membuat Responsive Mega Menu di Blogger

Kali ini Arlina Design akan berbagi Cara Membuat Responsive Mega Menu di Blogger. Seperti yang sobat tahu, Menu Navigasi adalah salah satu bagian yang penting dalam sebuah blog untuk memberikan informasi kepada pengunjung tentang apa saja konten yang ada di blog tersebut dan akan ditampilkan berupa link yang nantinya akan menunjukkan tiap halaman-halaman tertentu yang ada di blog.

Cara Membuat Responsive Mega Menu di Blogger

Yang akan saya bagikan ini adalah mega menu dengan off-canvas yang sudah responsive dengan tampilan yang cukup menarik dan juga sudah dilengkapi dengan fitur pencarian sehingga akan memudahkan pengunjung untuk mencari halaman yang ia cari. Nah, bagi yang ingin menambahkannya pada blog, silakan ikuti langkah-langkahnya di bawah ini.

Cara Membuat Responsive Mega Menu di Blogger


Perlu diketahui, jika sebelumnya sobat sudah memiliki menu navigasi bawaan template untuk menghindari terjadinya bentrok karena ada nama ID atau Class yang sama sebaiknya hapus atau ganti dengan menu ini.

Oke, pertama buka halaman Blogger > Klik menu Tema dan klik tombol Edit HTML > Tambahkan kode CSS ini sebelum kode </head>

<style type='text/css'>
/* Responsive Mega Menu by www.arlinadzgn.com */
#header-top{float:left}
#Header1 h1.title,#Header1 h2.title{margin:0 auto!important}
#Header1 h1.title a,#Header1 h2.title a{color:#fff}
.header_area{background:#3243db;position:fixed;width:100%;margin:auto;top:0;right:0;left:0;z-index:99;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.navigation{width:100%;height:70px;display:table;position:relative;font-family:inherit}
.navigation *{box-sizing:border-box;-webkit-tap-highlight-color:transparent;float:none}
.navigation-portrait{height:48px}
.navigation-fixed{position:fixed;top:0;left:0;z-index:19998}
.navigation-hidden{width:0!important;height:0!important;margin:0!important;padding:0!important}
.align-to-right{float:right}
.nav-header{float:left}
.navigation-hidden .nav-header{display:none}
.nav-brand{line-height:70px;padding:0;color:#fff;font-size:24px;text-decoration:none}
.nav-brand:hover,.nav-brand:focus{color:#fff}
.navigation-portrait .nav-brand{font-size:18px;line-height:48px}
.nav-logo&gt;img{height:48px;margin:11px auto;padding:0 15px;float:left}
.nav-logo:focus&gt;img{outline:initial}
.navigation-portrait .nav-logo&gt;img{height:36px;margin:6px auto 6px 15px;padding:0}
.nav-toggle{width:30px;height:30px;padding:6px 2px 0;position:absolute;top:50%;margin-top:-14px;right:0;display:none;cursor:pointer}
.nav-toggle:before{content:&quot;&quot;;position:absolute;width:24px;height:2px;background-color:#fff;border-radius:10px;box-shadow:0 .5em 0 0 #fff,0 1em 0 0 #fff}
.navigation-portrait .nav-toggle{display:block}
.navigation-portrait .nav-menus-wrapper{width:320px;height:100%;top:0;left:-400px;position:fixed;background-color:#fff;z-index:20000;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.2s;transition-timing-function:ease}
.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right{left:auto;right:-400px}
.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open{left:0}
.navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-right.nav-menus-wrapper-open{left:auto;right:0}
.nav-menus-wrapper-close-button{width:30px;height:30px;margin:10px 7px;display:none;float:right;color:#343a40;font-size:20px;cursor:pointer}
.navigation-portrait .nav-menus-wrapper-close-button{display:block}
.nav-menu{margin:0;padding:0;list-style:none;line-height:normal;font-size:0}
.navigation-portrait .nav-menu{width:100%}
.navigation-landscape .nav-menu.nav-menu-centered{float:none;text-align:center}
.navigation-landscape .nav-menu.nav-menu-centered&gt;li{float:none}
.nav-menu&gt;li{display:inline-block;float:left;text-align:left}
.navigation-portrait .nav-menu&gt;li{width:100%;position:relative;border-top:solid 1px #f0f0f0}
.navigation-portrait .nav-menu&gt;li:last-child{border-bottom:solid 1px #f0f0f0}
.nav-menu+.nav-menu&gt;li:first-child{border-top:none}
.nav-menu&gt;li&gt;a{height:70px;line-height:initial;margin:0;padding:26px 15px;display:inline-block;text-decoration:none;font-size:14px;color:#fff;transition:color .3s,background .3s}
.navigation-portrait .nav-menu&gt;li&gt;a{width:100%;height:auto;padding:12px 15px 12px 26px}
.nav-menu&gt;li:hover&gt;a,.nav-menu&gt;li.active&gt;a,.nav-menu&gt;li.focus&gt;a{background:rgba(0,0,0,0.1);color:#fff}
.nav-menu&gt;li&gt;a&gt;i,.nav-menu&gt;li&gt;a&gt;[class*=ion-]{width:18px;height:16px;line-height:16px;transform:scale(1.4)}
.nav-menu&gt;li&gt;a&gt;[class*=ion-]{width:16px;display:inline-block;transform:scale(1.8)}
.navigation-portrait .nav-menu.nav-menu-social{width:100%;text-align:center}
.nav-menu.nav-menu-social&gt;li{text-align:center;float:none;border:none!important}
.navigation-portrait .nav-menu.nav-menu-social&gt;li{width:auto}
.nav-menu.nav-menu-social&gt;li&gt;a&gt;[class*=ion-]{font-size:12px}
.nav-menu.nav-menu-social&gt;li&gt;a&gt;.fa{font-size:14px}
.navigation-portrait .nav-menu.nav-menu-social&gt;li&gt;a{padding:15px}
.submenu-indicator{margin-left:8px;margin-top:4px;float:right;transition:all .2s}
.navigation-portrait .submenu-indicator{width:54px;height:44px;margin-top:0;position:absolute;top:0;right:0;text-align:center;z-index:20000}
.submenu-indicator-chevron{height:6px;width:6px;display:block;border-style:solid;border-width:0 1px 1px 0;border-color:transparent #fff #fff transparent;transform:rotate(45deg);transition:border .2s}
.navigation-portrait .submenu-indicator-chevron{border-color:transparent #999 #999 transparent;position:absolute;top:18px;left:24px}
.navigation-portrait:hover .submenu-indicator-chevron{border-color:transparent #999 #999 transparent}
.navigation-portrait .submenu-indicator.submenu-indicator-up{transform:rotate(-180deg)}
.nav-dropdown&gt;li .submenu-indicator-chevron{border-color:transparent #999 #999 transparent}
.nav-overlay-panel{width:100%;height:100%;top:0;left:0;position:fixed;display:none;z-index:19999}
.no-scroll{width:100%;height:100%;overflow:hidden}
.nav-search{height:70px;float:right;z-index:19998}
.navigation-portrait .nav-search{height:48px;padding:0 10px;margin-right:32px}
.navigation-hidden .nav-search{display:none}
.nav-search-button{width:70px;height:70px;line-height:70px;text-align:center;cursor:pointer;background-color:rgba(0,0,0,0.1)}
.navigation-portrait .nav-search-button{width:50px;height:60px;line-height:60px;font-size:22px}
.nav-search-icon{width:14px;height:14px;margin:2px 8px 8px 4px;display:inline-block;vertical-align:middle;position:relative;color:#fff;text-align:left;text-indent:-9999px;border:2px solid;border-radius:50%;transform:rotate(-45deg)}
.nav-search-icon:after,.nav-search-icon:before{content:&#39;&#39;;pointer-events:none}
.nav-search-icon:before{width:2px;height:11px;top:11px;position:absolute;left:50%;border-radius:0 0 1px 1px;box-shadow:inset 0 0 0 32px;transform:translateX(-50%)}
.nav-search-button:hover .nav-search-icon{color:#fff}
.nav-search&gt;form{width:100%;height:100%;padding:0;display:none;position:absolute;left:0;top:0;background-color:#3243db;z-index:99}
.nav-search-inner{width:70%;height:70px;margin:auto;display:table}
.navigation-portrait .nav-search-inner{height:48px}
.nav-search-inner input[type=&quot;text&quot;],.nav-search-inner input[type=&quot;search&quot;]{height:70px;width:100%;margin:0;padding:0 12px;font-size:22px;text-align:center;color:#fff;outline:none;line-height:70px;border:none;background-color:transparent;transition:all .3s}
.navigation-portrait .nav-search-inner input[type=&quot;text&quot;],.navigation-portrait .nav-search-inner input[type=search]{height:48px;font-size:18px;line-height:48px}
.nav-search input[type=&quot;search&quot;]::placeholder{color:#fff;opacity:1}
.nav-search input[type=&quot;search&quot;]:-ms-input-placeholder{color:#fff}
.nav-search input[type=&quot;search&quot;]::-ms-input-placeholder{color:#fff}
.nav-search-close-button{width:28px;height:28px;display:block;position:absolute;right:20px;top:20px;line-height:normal;outline:none;color:rgba(255,255,255,.5);font-size:20px;cursor:pointer;text-align:center}
.navigation-portrait .nav-search-close-button{top:10px;right:14px}
.nav-button{margin:18px 15px 0;padding:8px 14px;display:inline-block;color:#fff;font-size:14px;text-align:center;text-decoration:none;border-radius:4px}
.nav-button:hover,.nav-button:focus{color:#fff;text-decoration:none}
.navigation-portrait .nav-button{width:calc(100% - 52px);margin:17px 26px}
.nav-text{margin:25px 15px;display:inline-block;color:#343a40;font-size:14px}
.navigation-portrait .nav-text{width:calc(100% - 52px);margin:12px 26px 0}
.navigation-portrait .nav-text+ul{margin-top:15px}
.nav-dropdown{min-width:180px;margin:0;padding:0;display:none;position:absolute;list-style:none;z-index:98;white-space:nowrap}
.navigation-portrait .nav-dropdown{width:100%;position:static;left:0}
.nav-dropdown .nav-dropdown{left:100%}
.nav-menu&gt;li&gt;.nav-dropdown{border-top:solid 1px #f0f0f0}
.nav-dropdown&gt;li{width:100%;float:left;clear:both;position:relative;text-align:left}
.nav-dropdown&gt;li&gt;a{width:100%;margin:auto;line-height:initial;padding:16px 20px;display:inline-block;text-decoration:none;float:left;font-size:13px;color:#343a40;background-color:#fdfdfd}
.nav-dropdown&gt;li:hover&gt;a,.nav-dropdown&gt;li.focus&gt;a{color:#27ae60}
.nav-dropdown.nav-dropdown-left{right:0}
.nav-dropdown&gt;li&gt;.nav-dropdown-left{left:auto;right:100%}
.navigation-landscape .nav-dropdown.nav-dropdown-left&gt;li&gt;a{text-align:right}
.navigation-portrait .nav-dropdown&gt;li&gt;a{padding:12px 20px 12px 30px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;a{padding-left:50px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;a{padding-left:70px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;a{padding-left:90px}
.navigation-portrait .nav-dropdown&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;ul&gt;li&gt;a{padding-left:110px}
.nav-dropdown .submenu-indicator{right:15px;top:10px;position:absolute}
.navigation-portrait .nav-dropdown .submenu-indicator{right:0;top:0}
.nav-dropdown .submenu-indicator .submenu-indicator-chevron{transform:rotate(-45deg)}
.navigation-portrait .nav-dropdown .submenu-indicator .submenu-indicator-chevron{transform:rotate(45deg)}
.nav-dropdown&gt;li:hover&gt;a .submenu-indicator-chevron,.nav-dropdown&gt;.focus&gt;a .submenu-indicator-chevron{border-color:transparent #27ae60 #27ae60 transparent}
.navigation-landscape .nav-dropdown.nav-dropdown-left .submenu-indicator{left:10px}
.navigation-landscape .nav-dropdown.nav-dropdown-left .submenu-indicator .submenu-indicator-chevron{transform:rotate(135deg)}
.nav-dropdown-horizontal{width:100%;left:0;background-color:#fdfdfd;border-top:solid 1px #f0f0f0}
.nav-dropdown-horizontal .nav-dropdown-horizontal{width:100%;top:100%;left:0}
.navigation-portrait .nav-dropdown-horizontal .nav-dropdown-horizontal{border-top:none}
.nav-dropdown-horizontal&gt;li{width:auto;clear:none;position:static}
.navigation-portrait .nav-dropdown-horizontal&gt;li{width:100%}
.nav-dropdown-horizontal&gt;li&gt;a{position:relative}
.nav-dropdown-horizontal .submenu-indicator{height:18px;top:11px;transform:rotate(90deg)}
.navigation-portrait .nav-dropdown-horizontal .submenu-indicator{height:42px;top:0;transform:rotate(0deg)}
.navigation-portrait .nav-dropdown-horizontal .submenu-indicator.submenu-indicator-up{transform:rotate(-180deg)}
.megamenu-panel{width:100%;padding:15px;display:none;position:absolute;font-size:14px;z-index:98;text-align:left;color:inherit;border-top:solid 1px #f0f0f0;background-color:#fff;box-shadow:0 15px 20px -5px rgba(0,0,0,.2)}
.navigation-portrait .megamenu-panel{padding:25px;position:static;display:block}
.megamenu-panel [class*=container]{width:100%}
.megamenu-panel [class*=&quot;container&quot;] [class*=&quot;col-&quot;]{padding:0}
.megamenu-panel-half{width:50%}
.megamenu-panel-quarter{width:25%}
.navigation-portrait .megamenu-panel-half,.navigation-portrait .megamenu-panel-quarter{width:100%}
.megamenu-panel-row{width:100%}
.megamenu-panel-row:before,.megamenu-panel-row:after{display:table;content:&quot;&quot;;line-height:0}
.megamenu-panel-row:after{clear:both}
.megamenu-panel-row [class*=col-]{display:block;min-height:20px;float:left;margin-left:3%}
.megamenu-panel-row [class*=col-]:first-child{margin-left:0}
.navigation-portrait .megamenu-panel-row [class*=col-]{float:none;display:block;width:100%!important;margin-left:0;margin-top:15px}
.navigation-portrait .megamenu-panel-row:first-child [class*=col-]:first-child{margin-top:0}
.megamenu-panel-row .col-1{width:5.583333333333%}
.megamenu-panel-row .col-2{width:14.166666666666%}
.megamenu-panel-row .col-3{width:22.75%}
.megamenu-panel-row .col-4{width:31.333333333333%}
.megamenu-panel-row .col-5{width:39.916666666667%}
.megamenu-panel-row .col-6{width:48.5%}
.megamenu-panel-row .col-7{width:57.083333333333%}
.megamenu-panel-row .col-8{width:65.666666666667%}
.megamenu-panel-row .col-9{width:74.25%}
.megamenu-panel-row .col-10{width:82.833333333334%}
.megamenu-panel-row .col-11{width:91.416666666667%}
.megamenu-panel-row .col-12{width:100%}
.megamenu-tabs{width:100%;float:left;display:block}
.megamenu-tabs-nav{width:20%;margin:0;padding:0;float:left;list-style:none}
.navigation-portrait .megamenu-tabs-nav{width:100%}
.megamenu-tabs-nav&gt;li&gt;a{width:100%;padding:10px 16px;float:left;font-size:13px;text-decoration:none;color:#343a40;border:solid 1px #eff0f2;outline:0;background-color:#fff}
.megamenu-tabs-nav&gt;li.active a,.megamenu-tabs-nav&gt;li:hover a{background-color:#f5f5f5}
.megamenu-tabs-pane{width:80%;min-height:30px;padding:20px;float:right;display:none;font-size:13px;color:#343a40;border:solid 1px #eff0f2;background-color:#fff}
.megamenu-tabs-pane.active{display:block}
.navigation-portrait .megamenu-tabs-pane{width:100%}
.megamenu-lists{width:100%;display:table}
.megamenu-list{width:100%;margin:0 0 15px;padding:0;display:inline-block;float:left;list-style:none;text-align:left}
.megamenu-list:last-child{margin:0;border:none}
.navigation-landscape .megamenu-list{height:initial;margin:-15px 0;padding:20px 0;border-right:solid 1px #f0f0f0}
.navigation-landscape .megamenu-list:last-child{border:none}
.megamenu-list&gt;li&gt;a{width:100%;margin:auto;line-height:initial;padding:10px 15px;display:inline-block;color:#343a40;text-decoration:none;font-size:13px}
.megamenu-list&gt;li&gt;a:hover{background-color:#27ae60;color:#fff}
.megamenu-list&gt;li.megamenu-list-title&gt;a{font-size:12px;font-weight:500;text-transform:uppercase;color:#343a40}
.megamenu-list&gt;li.megamenu-list-title&gt;a:hover{background-color:transparent}
.navigation-landscape .list-col-2{width:50%}
.navigation-landscape .list-col-3{width:33%}
.navigation-landscape .list-col-4{width:25%}
.navigation-landscape .list-col-5{width:20%}
.nav-dropdown &gt; li &gt; a{color:#343a40;padding:10px 20px;border-bottom:1px solid #f6f6f6}
.nav-dropdown &gt; li &gt; a:hover,.nav-dropdown &gt; li &gt; a:focus{color:#27ae60}
.main_header_area.sticky{width:100%;position:fixed;top:0;left:0;background-color:#fff;z-index:9999;box-shadow:0 5px 30px rgba(0,0,0,0.1)}
.transparent-menu{position:absolute;width:100%;left:0;top:0;z-index:99}
.navigation-portrait .nav-menu &gt; li &gt; a{color:#222;width:100%;height:auto;padding:10px 10px 10px 30px}
/* Media Query Mega Menu */
@media only screen and (min-width:320px) and (max-width:767px){
.nav-dropdown &gt; li &gt; a,.megamenu-list &gt; li &gt; a{width:65%}}
@media (max-width:767px){
.megamenu-list{float:none}}
.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}
@media (min-width:576px){
.container{max-width:540px}}
@media (min-width:768px){
.container{max-width:720px}}
@media (min-width:992px){
.container{max-width:960px}}
@media (min-width:1200px){
.container{max-width:1140px}}
</style>

Selanjutnya hapus widget header yang ada di dalam template karena di dalam markup mega menu ini sudah dilengkapi widget header. Widget header biasanya seperti pada kode di bawah ini

<b:section class='header-top' id='header-top' maxwidgets='1' showaddelement='no'>
   <b:widget id='Header1' locked='true' title='Arlina Design (Header)' type='Header' version='1'>
      <b:widget-settings>
         <b:widget-setting name='displayUrl'/>
         <b:widget-setting name='displayHeight'>0</b:widget-setting>
         <b:widget-setting name='sectionWidth'>273</b:widget-setting>
         <b:widget-setting name='useImage'>false</b:widget-setting>
         <b:widget-setting name='shrinkToFit'>false</b:widget-setting>
         <b:widget-setting name='imagePlacement'>BEHIND</b:widget-setting>
         <b:widget-setting name='displayWidth'>0</b:widget-setting>
      </b:widget-settings>
      <b:includable id='main'>
         <b:if cond='data:useImage'>
            <b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
               <!--
                  Show image as background to text. You can't really calculate the width
                  
                  reliably in JS because margins are not taken into account by any of
                  clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
                  width if the user is using shrink to fit.
                  This results in a margin-width's worth of pixels being cropped. If the
                  user is not using shrink to fit then we expand the header.
                  -->
               <b:if cond='data:mobile'>
                  <div id='header-inner'>
                     <div class='titlewrapper' style='background: transparent'>
                        <h1 class='title' style='background: transparent; border-width: 0px'>
                           <b:include name='title'/>
                        </h1>
                     </div>
                     <b:include name='description'/>
                  </div>
                  <b:else/>
                  <div expr:style='&quot;background-image: url(\&quot;&quot; + data:sourceUrl + &quot;\&quot;); &quot;                      + &quot;background-position: &quot;                      + data:backgroundPositionStyleStr + &quot;; &quot;                      + data:widthStyleStr                      + &quot;min-height: &quot; + data:height                      + &quot;_height: &quot; + data:height                      + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
                     <div class='titlewrapper' style='background: transparent'>
                        <h1 class='title' style='background: transparent; border-width: 0px'>
                           <b:include name='title'/>
                        </h1>
                     </div>
                     <b:include name='description'/>
                  </div>
               </b:if>
               <b:else/>
               <!--Show the image only-->
               <div id='header-inner'>
                  <h1><a expr:href='data:blog.homepageUrl' style='display: block'>
                     <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
                     </a>
                  </h1>
                  <!--Show the description-->
                  <b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
                     <b:include name='description'/>
                  </b:if>
               </div>
            </b:if>
            <b:else/>
            <!--No header image -->
            <div id='header-inner'>
               <div class='titlewrapper'>
                  <h1 class='title'>
                     <b:include name='title'/>
                  </h1>
               </div>
               <b:include name='description'/>
            </div>
         </b:if>
      </b:includable>
      <b:includable id='description'>
         <h2 class='site-descriptionindz'>
            <data:description/>
         </h2>
      </b:includable>
      <b:includable id='title'>
         <b:if cond='data:blog.pageType != &quot;item&quot;'>
            <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
               <h1 class='title'>
                  <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                     <span itemprop='name'>
                        <data:title/>
                     </span>
                  </a>
               </h1>
               <b:else/>
               <h2 class='title'>
                  <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                     <span itemprop='name'>
                        <data:title/>
                     </span>
                  </a>
               </h2>
            </b:if>
            <b:else/>
            <h2 class='title'>
               <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                  <span itemprop='name'>
                     <data:title/>
                  </span>
               </a>
            </h2>
         </b:if>
      </b:includable>
   </b:widget>
</b:section>

Setelah widget header dihapus, kemudian tambahkan markup dari mega menu ini bebas diantara tag pembuka <body> dan tag penutup </body>

<header class='header_area' itemscope='itemscope' itemtype='https://schema.org/WPHeader'>
   <div class='main_header_area animated'>
   <div class='container'>
      <nav class='navigation' id='navigation1'>
         <!-- Logo Area Start -->
         <div class='nav-header'>
            <b:section class='header-top' id='header-top' maxwidgets='1' showaddelement='no'>
              <b:widget id='Header1' locked='true' title='Arlina Design (Header)' type='Header' version='1'>
                <b:widget-settings>
                  <b:widget-setting name='displayUrl'/>
                  <b:widget-setting name='displayHeight'>0</b:widget-setting>
                  <b:widget-setting name='sectionWidth'>273</b:widget-setting>
                  <b:widget-setting name='useImage'>false</b:widget-setting>
                  <b:widget-setting name='shrinkToFit'>false</b:widget-setting>
                  <b:widget-setting name='imagePlacement'>BEHIND</b:widget-setting>
                  <b:widget-setting name='displayWidth'>0</b:widget-setting>
                </b:widget-settings>
                <b:includable id='main'>
                     <b:if cond='data:useImage'>
                        <b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
                           <!--
                              Show image as background to text. You can't really calculate the width
                              
                              reliably in JS because margins are not taken into account by any of
                              clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
                              width if the user is using shrink to fit.
                              This results in a margin-width's worth of pixels being cropped. If the
                              user is not using shrink to fit then we expand the header.
                              -->
                           <b:if cond='data:mobile'>
                              <div id='header-inner'>
                                 <div class='titlewrapper' style='background: transparent'>
                                    <h1 class='title' style='background: transparent; border-width: 0px'>
                                       <b:include name='title'/>
                                    </h1>
                                 </div>
                                 <b:include name='description'/>
                              </div>
                              <b:else/>
                              <div expr:style='&quot;background-image: url(\&quot;&quot; + data:sourceUrl + &quot;\&quot;); &quot;                      + &quot;background-position: &quot;                      + data:backgroundPositionStyleStr + &quot;; &quot;                      + data:widthStyleStr                      + &quot;min-height: &quot; + data:height                      + &quot;_height: &quot; + data:height                      + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
                                 <div class='titlewrapper' style='background: transparent'>
                                    <h1 class='title' style='background: transparent; border-width: 0px'>
                                       <b:include name='title'/>
                                    </h1>
                                 </div>
                                 <b:include name='description'/>
                              </div>
                           </b:if>
                           <b:else/>
                           <!--Show the image only-->
                           <div id='header-inner'>
                              <h1><a expr:href='data:blog.homepageUrl' style='display: block'>
                                 <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
                                 </a>
                              </h1>
                              <!--Show the description-->
                              <b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
                                 <b:include name='description'/>
                              </b:if>
                           </div>
                        </b:if>
                        <b:else/>
                        <!--No header image -->
                        <div id='header-inner'>
                           <div class='titlewrapper'>
                              <h1 class='title'>
                                 <b:include name='title'/>
                              </h1>
                           </div>
                           <b:include name='description'/>
                        </div>
                     </b:if>
                  </b:includable>
                <b:includable id='description'>
                     <h2 class='site-descriptionindz'>
                        <data:description/>
                     </h2>
                  </b:includable>
                <b:includable id='title'>
                     <b:if cond='data:blog.pageType != &quot;item&quot;'>
                        <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
                           <h1 class='title'>
                              <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                                 <span itemprop='name'>
                                    <data:title/>
                                 </span>
                              </a>
                           </h1>
                           <b:else/>
                           <h2 class='title'>
                              <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                                 <span itemprop='name'>
                                    <data:title/>
                                 </span>
                              </a>
                           </h2>
                        </b:if>
                        <b:else/>
                        <h2 class='title'>
                           <a expr:href='data:blog.homepageUrl' expr:title='data:blog.title' itemprop='url'>
                              <span itemprop='name'>
                                 <data:title/>
                              </span>
                           </a>
                        </h2>
                     </b:if>
                  </b:includable>
              </b:widget>
            </b:section>
            <div class='nav-toggle'/>
            </div>
            <!-- Search panel Start -->
            <div class='nav-search'>
               <div class='nav-search-button'>
                  <i class='nav-search-icon'/>
               </div>
               <form action='/search' id='search-form' method='get'>
                  <div class='nav-search-inner'>
                     <input name='search' placeholder='Search Here' type='search'/>
                     <input name='max-results' type='hidden' value='6'/>
                  </div>
               </form>
            </div>
            <!-- Main Menus Wrapper -->
            <div class='nav-menus-wrapper'>
               <ul class='nav-menu align-to-right'>
                  <li>
                     <a href='#'>Home</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Business 1</a></li>
                              <li><a href='#'>Business 2</a></li>
                              <li><a href='#'>Business 3</a></li>
                              <li><a href='#'>Blogger 1</a></li>
                              <li><a href='#'>Blogger 2</a></li>
                              <li><a href='#'>Creative Light</a></li>
                              <li><a href='#'>Creative Dark</a></li>
                              <li><a href='#'>Personal Portfolio</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Vimeo Video</a></li>
                              <li><a href='#'>YouTube Video</a></li>
                              <li><a href='#'>HTML5 Local Video</a></li>
                              <li><a href='#'>Agency</a></li>
                              <li><a href='#'>App Showcase</a></li>
                              <li><a href='#'>Creative</a></li>
                              <li><a href='#'>Business</a></li>
                              <li><a href='#'>Education</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Fitness &amp; Gym</a></li>
                              <li><a href='#'>Gardening</a></li>
                              <li><a href='#'>Hosting</a></li>
                              <li><a href='#'>HTML5 Video</a></li>
                              <li><a href='#'>Medical</a></li>
                              <li><a href='#'>Minimal Portfolio</a></li>
                              <li><a href='#'>Photography</a></li>
                              <li><a href='#'>Product Showcase</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li><a href='#'>Restaurant</a></li>
                              <li><a href='#'>Resume &amp; CV</a></li>
                              <li><a href='#'>Service Landing</a></li>
                              <li><a href='#'>Slideshows</a></li>
                              <li><a href='#'>Spa &amp; Beauty</a></li>
                              <li><a href='#'>Startup</a></li>
                              <li><a href='#'>Vimeo Video</a></li>
                              <li><a href='#'>YouTube Video</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li>
                     <a href='#'>Level 1</a>
                     <ul class='nav-dropdown'>
                        <li>
                           <a href='#'>Header</a>
                           <ul class='nav-dropdown'>
                              <li><a href='#'>Simple</a></li>
                              <li><a href='#'>Two Menus</a></li>
                              <li><a href='#'>Centered</a></li>
                              <li><a href='#'>Search Panel</a></li>
                              <li><a href='#'>Button &amp; Text</a></li>
                              <li><a href='#'>Dropdown</a></li>
                              <li><a href='#'>Horizontal Dropdown</a></li>
                              <li><a href='#'>Megamenu List</a></li>
                              <li><a href='#'>Megamenu Tabs</a></li>
                              <li><a href='#'>Social Links</a></li>
                              <li><a href='#'>Always Hidden</a></li>
                              <li><a href='#'>Icons</a></li>
                              <li><a href='#'>Striped Skin</a></li>
                              <li><a href='#'>Rounded Skin</a></li>
                              <li><a href='#'>Box Skin</a></li>
                           </ul>
                        </li>
                        <li>
                           <a href='#'>Level 2</a>
                           <ul class='nav-dropdown'>
                              <li><a href='#'>Contact Layout 1</a></li>
                              <li><a href='#'>Contact Layout 2</a></li>
                              <li><a href='#'>Contact Layout 3</a></li>
                              <li>
                                 <a href='#'>Level 3</a>
                                 <ul class='nav-dropdown'>
                                    <li><a href='#'>Contact Layout 1</a></li>
                                    <li><a href='#'>Contact Layout 2</a></li>
                                    <li><a href='#'>Contact Layout 3</a></li>
                                    <li><a href='#'>Contact Layout 4</a></li>
                                    <li><a href='#'>Contact Layout 5</a></li>
                                    <li><a href='#'>Contact Layout 6</a></li>
                                    <li><a href='#'>Contact Layout 7</a></li>
                                 </ul>
                              </li>
                              <li><a href='#'>Contact Layout 5</a></li>
                              <li><a href='#'>Contact Layout 6</a></li>
                              <li><a href='#'>Contact Layout 7</a></li>
                           </ul>
                        </li>
                        <li>
                           <a href='#'>Coming Soon</a>
                           <ul class='nav-dropdown'>
                              <li><a href='#'>Coming Soon - 1</a></li>
                              <li><a href='#'>Coming Soon - 2</a></li>
                              <li><a href='#'>Coming Soon - 3</a></li>
                              <li><a href='#'>Coming Soon - 4</a></li>
                              <li><a href='#'>Coming Soon - 5</a></li>
                           </ul>
                        </li>
                        <li><a href='#'>Premium Sliders</a></li>
                        <li><a href='#'>Shortcodes</a></li>
                        <li><a href='#'>Breadcumb</a></li>
                        <li><a href='#'>Footer</a></li>
                        <li><a href='#'>Icons</a></li>
                        <li><a href='#'>Buttons</a></li>
                        <li><a href='#'>Call to Action</a></li>
                        <li><a href='#'>Google Maps</a></li>
                        <li><a href='#'>Pie &amp; Skills</a></li>
                        <li><a href='#'>Ratings</a></li>
                        <li><a href='#'>Vector Maps</a></li>
                     </ul>
                  </li>
                  <li>
                     <a href='#'>Pages</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-3'>
                              <li><a href='#'>About Us 1</a></li>
                              <li><a href='#'>About Us 2</a></li>
                              <li><a href='#'>About Us 3</a></li>
                              <li><a href='#'>Service Layout 1</a></li>
                              <li><a href='#'>Service Layout 2</a></li>
                              <li><a href='#'>Service Layout 3</a></li>
                              <li><a href='#'>404 Layout 1</a></li>
                              <li><a href='#'>404 Layout 2</a></li>
                              <li><a href='#'>404 Layout 3</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-3'>
                              <li><a href='#'>Coming Soon Layout 1</a></li>
                              <li><a href='#'>Coming Soon Layout 2</a></li>
                              <li><a href='#'>Coming Soon Layout 3</a></li>
                              <li><a href='#'>Coming Soon Layout 4</a></li>
                              <li><a href='#'>Coming Soon Layout 5</a></li>
                              <li><a href='#'>500 Error</a></li>
                              <li><a href='#'>Empty Page</a></li>
                              <li><a href='#'>FAQ</a></li>
                              <li><a href='#'>Search Result</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-3'>
                              <li><a href='#'>Contact Layout 1</a></li>
                              <li><a href='#'>Contact Layout 2</a></li>
                              <li><a href='#'>Contact Layout 3</a></li>
                              <li><a href='#'>Contact Layout 4</a></li>
                              <li><a href='#'>Contact Layout 5</a></li>
                              <li><a href='#'>Contact Layout 6</a></li>
                              <li><a href='#'>Contact Layout 7</a></li>
                              <li><a href='#'>Subscribe Newsletter</a></li>
                              <li><a href='#'>Under Maintenance</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li>
                     <a href='#'>Portfolio</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Masonary</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Masonary No Gutter</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Grid</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Grid No Gutter</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-5'>
                              <li class='megamenu-list-title'><a href='#'>Portfolio Details</a></li>
                              <li><a href='#'>Embed Video</a></li>
                              <li><a href='#'>Masonary Thumb</a></li>
                              <li><a href='#'>Single Thumb</a></li>
                              <li><a href='#'>Slider Gallery</a></li>
                              <li><a href='#'>YouTube Video</a></li>
                              <li><a href='#'>Vimeo Video</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li>
                     <a href='#'>Blog</a>
                     <div class='megamenu-panel'>
                        <div class='megamenu-lists'>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Masonary Layout</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Grid Layout</a></li>
                              <li><a href='#'>2 Column</a></li>
                              <li><a href='#'>3 Column</a></li>
                              <li><a href='#'>4 Column</a></li>
                              <li><a href='#'>6 Column</a></li>
                              <li><a href='#'>Full Width</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Sidebar Layout</a></li>
                              <li><a href='#'>Left Sidebar Grid</a></li>
                              <li><a href='#'>Left Sidebar Masonary</a></li>
                              <li><a href='#'>Right Sidebar Grid</a></li>
                              <li><a href='#'>Right Sidebar Masonary</a></li>
                              <li><a href='#'>No Sidebar</a></li>
                              <li><a href='#'>Both Side Sidebar</a></li>
                           </ul>
                           <ul class='megamenu-list list-col-4'>
                              <li class='megamenu-list-title'><a href='#'>Blog Details</a></li>
                              <li><a href='#'>Single Blog Layout 1</a></li>
                              <li><a href='#'>Single Blog Layout 2</a></li>
                              <li><a href='#'>Single Blog Layout 3</a></li>
                              <li><a href='#'>Single Blog Layout 4</a></li>
                              <li><a href='#'>Single Blog Layout 5</a></li>
                              <li><a href='#'>Single Blog Layout 6</a></li>
                           </ul>
                        </div>
                     </div>
                  </li>
                  <li><a href='#'>Shortcodes</a></li>
                  <li><a href='#'>One Page</a></li>
               </ul>
            </div>
      </nav>
      </div>
   </div>
</header>

Edit bagian-bagian yang ada di dalam menu sesuai kebutuhan

Selanjutnya, tambahkan kode ini sebelum kode </body>

<script type='text/javascript'>
//<![CDATA[
// Responsive Mega Menu by www.arlinadzgn.com
!function(n,i,e,a){n.navigation=function(t,s){var o={responsive:!0,mobileBreakpoint:991,showDuration:200,hideDuration:200,showDelayDuration:0,hideDelayDuration:0,submenuTrigger:"hover",effect:"fade",submenuIndicator:!0,submenuIndicatorTrigger:!1,hideSubWhenGoOut:!0,visibleSubmenusOnMobile:!1,fixed:!1,overlay:!0,overlayColor:"rgba(0, 0, 0, 0.5)",hidden:!1,hiddenOnMobile:!1,offCanvasSide:"left",offCanvasCloseButton:!0,animationOnShow:"",animationOnHide:"",onInit:function(){},onLandscape:function(){},onPortrait:function(){},onShowOffCanvas:function(){},onHideOffCanvas:function(){}},r=this,u=Number.MAX_VALUE,d=1,l="click.nav touchstart.nav",f="mouseenter focusin",c="mouseleave focusout";r.settings={};n(t),t=t;n(t).find(".nav-search").length>0&&n(t).find(".nav-search").find("form").prepend("<span class='nav-search-close-button' tabindex='0'>&#10005;</span>"),r.init=function(){r.settings=n.extend({},o,s),r.settings.offCanvasCloseButton&&n(t).find(".nav-menus-wrapper").prepend("<span class='nav-menus-wrapper-close-button'>&#10005;</span>"),"right"==r.settings.offCanvasSide&&n(t).find(".nav-menus-wrapper").addClass("nav-menus-wrapper-right"),r.settings.hidden&&(n(t).addClass("navigation-hidden"),r.settings.mobileBreakpoint=99999),v(),r.settings.fixed&&n(t).addClass("navigation-fixed"),n(t).find(".nav-toggle").on("click touchstart",function(n){n.stopPropagation(),n.preventDefault(),r.showOffcanvas(),s!==a&&r.callback("onShowOffCanvas")}),n(t).find(".nav-menus-wrapper-close-button").on("click touchstart",function(){r.hideOffcanvas(),s!==a&&r.callback("onHideOffCanvas")}),n(t).find(".nav-search-button, .nav-search-close-button").on("click touchstart keydown",function(i){i.stopPropagation(),i.preventDefault();var e=i.keyCode||i.which;"click"===i.type||"touchstart"===i.type||"keydown"===i.type&&13==e?r.toggleSearch():9==e&&n(i.target).blur()}),n(t).find(".megamenu-tabs").length>0&&w(),n(i).resize(function(){r.initNavigationMode(g()),C(),r.settings.hiddenOnMobile&&m()}),r.initNavigationMode(g()),r.settings.hiddenOnMobile&&m(),s!==a&&r.callback("onInit")};var h=function(){n(t).find(".nav-submenu").hide(0),n(t).find("li").removeClass("focus")},v=function(){n(t).find("li").each(function(){n(this).children(".nav-dropdown,.megamenu-panel").length>0&&(n(this).children(".nav-dropdown,.megamenu-panel").addClass("nav-submenu"),r.settings.submenuIndicator&&n(this).children("a").append("<span class='submenu-indicator'><span class='submenu-indicator-chevron'></span></span>"))})},m=function(){n(t).hasClass("navigation-portrait")?n(t).addClass("navigation-hidden"):n(t).removeClass("navigation-hidden")};r.showSubmenu=function(i,e){g()>r.settings.mobileBreakpoint&&n(t).find(".nav-search").find("form").fadeOut(),"fade"==e?n(i).children(".nav-submenu").stop(!0,!0).delay(r.settings.showDelayDuration).fadeIn(r.settings.showDuration).removeClass(r.settings.animationOnHide).addClass(r.settings.animationOnShow):n(i).children(".nav-submenu").stop(!0,!0).delay(r.settings.showDelayDuration).slideDown(r.settings.showDuration).removeClass(r.settings.animationOnHide).addClass(r.settings.animationOnShow),n(i).addClass("focus")},r.hideSubmenu=function(i,e){"fade"==e?n(i).find(".nav-submenu").stop(!0,!0).delay(r.settings.hideDelayDuration).fadeOut(r.settings.hideDuration).removeClass(r.settings.animationOnShow).addClass(r.settings.animationOnHide):n(i).find(".nav-submenu").stop(!0,!0).delay(r.settings.hideDelayDuration).slideUp(r.settings.hideDuration).removeClass(r.settings.animationOnShow).addClass(r.settings.animationOnHide),n(i).removeClass("focus").find(".focus").removeClass("focus")};var p=function(){n("body").removeClass("no-scroll"),r.settings.overlay&&n(t).find(".nav-overlay-panel").fadeOut(400,function(){n(this).remove()})};r.showOffcanvas=function(){n("body").addClass("no-scroll"),r.settings.overlay&&(n(t).append("<div class='nav-overlay-panel'></div>"),n(t).find(".nav-overlay-panel").css("background-color",r.settings.overlayColor).fadeIn(300).on("click touchstart",function(n){r.hideOffcanvas()})),"left"==r.settings.offCanvasSide?n(t).find(".nav-menus-wrapper").css("transition-property","left").addClass("nav-menus-wrapper-open"):n(t).find(".nav-menus-wrapper").css("transition-property","right").addClass("nav-menus-wrapper-open")},r.hideOffcanvas=function(){n(t).find(".nav-menus-wrapper").removeClass("nav-menus-wrapper-open").on("webkitTransitionEnd moztransitionend transitionend oTransitionEnd",function(){n(t).find(".nav-menus-wrapper").css("transition-property","none").off()}),p()},r.toggleOffcanvas=function(){g()<=r.settings.mobileBreakpoint&&(n(t).find(".nav-menus-wrapper").hasClass("nav-menus-wrapper-open")?(r.hideOffcanvas(),s!==a&&r.callback("onHideOffCanvas")):(r.showOffcanvas(),s!==a&&r.callback("onShowOffCanvas")))},r.toggleSearch=function(){"none"==n(t).find(".nav-search").find("form").css("display")?(n(t).find(".nav-search").find("form").fadeIn(200),n(t).find(".nav-search").find("input").focus()):(n(t).find(".nav-search").find("form").fadeOut(200),n(t).find(".nav-search").find("input").blur())},r.initNavigationMode=function(i){r.settings.responsive?(i<=r.settings.mobileBreakpoint&&u>r.settings.mobileBreakpoint&&(n(t).addClass("navigation-portrait").removeClass("navigation-landscape"),O(),s!==a&&r.callback("onPortrait")),i>r.settings.mobileBreakpoint&&d<=r.settings.mobileBreakpoint&&(n(t).addClass("navigation-landscape").removeClass("navigation-portrait"),y(),p(),r.hideOffcanvas(),s!==a&&r.callback("onLandscape")),u=i,d=i):(n(t).addClass("navigation-landscape"),y(),s!==a&&r.callback("onLandscape"))};var g=function(){return i.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},b=function(){n(t).find(".nav-menu").find("li, a").off(l).off(f).off(c)},C=function(){if(g()>r.settings.mobileBreakpoint){var i=n(t).outerWidth(!0);n(t).find(".nav-menu").children("li").children(".nav-submenu").each(function(){n(this).parent().position().left+n(this).outerWidth()>i?n(this).css("right",0):n(this).css("right","auto")})}},w=function(){function i(i){var e=n(i).children(".megamenu-tabs-nav").children("li"),a=n(i).children(".megamenu-tabs-pane");n(e).on("click.tabs touchstart.tabs",function(i){i.stopPropagation(),i.preventDefault(),n(e).removeClass("active"),n(this).addClass("active"),n(a).hide(0).removeClass("active"),n(a[n(this).index()]).show(0).addClass("active")})}if(n(t).find(".megamenu-tabs").length>0)for(var e=n(t).find(".megamenu-tabs"),a=0;a<e.length;a++)i(e[a])},y=function(){b(),h(),navigator.userAgent.match(/Mobi/i)||navigator.maxTouchPoints>0||"click"==r.settings.submenuTrigger?n(t).find(".nav-menu, .nav-dropdown").children("li").children("a").on(l,function(e){if(r.hideSubmenu(n(this).parent("li").siblings("li"),r.settings.effect),n(this).closest(".nav-menu").siblings(".nav-menu").find(".nav-submenu").fadeOut(r.settings.hideDuration),n(this).siblings(".nav-submenu").length>0){if(e.stopPropagation(),e.preventDefault(),"none"==n(this).siblings(".nav-submenu").css("display"))return r.showSubmenu(n(this).parent("li"),r.settings.effect),C(),!1;if(r.hideSubmenu(n(this).parent("li"),r.settings.effect),"_blank"===n(this).attr("target")||"blank"===n(this).attr("target"))i.open(n(this).attr("href"));else{if("#"===n(this).attr("href")||""===n(this).attr("href")||"javascript:void(0)"===n(this).attr("href"))return!1;i.location.href=n(this).attr("href")}}}):n(t).find(".nav-menu").find("li").on(f,function(){r.showSubmenu(this,r.settings.effect),C()}).on(c,function(){r.hideSubmenu(this,r.settings.effect)}),r.settings.hideSubWhenGoOut&&n("html").on("click.body touchstart.body",function(i){0===n(i.target).closest(".navigation").length&&(n(t).find(".nav-submenu").fadeOut(),n(t).find(".focus").removeClass("focus"),n(t).find(".nav-search").find("form").fadeOut())})},O=function(){b(),h(),r.settings.visibleSubmenusOnMobile?n(t).find(".nav-submenu").show(0):(n(t).find(".submenu-indicator").removeClass("submenu-indicator-up"),r.settings.submenuIndicator&&r.settings.submenuIndicatorTrigger?n(t).find(".submenu-indicator").on(l,function(i){return i.stopPropagation(),i.preventDefault(),r.hideSubmenu(n(this).parent("a").parent("li").siblings("li"),"slide"),r.hideSubmenu(n(this).closest(".nav-menu").siblings(".nav-menu").children("li"),"slide"),"none"==n(this).parent("a").siblings(".nav-submenu").css("display")?(n(this).addClass("submenu-indicator-up"),n(this).parent("a").parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),n(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up"),r.showSubmenu(n(this).parent("a").parent("li"),"slide"),!1):(n(this).parent("a").parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),void r.hideSubmenu(n(this).parent("a").parent("li"),"slide"))}):n(t).find(".nav-menu, .nav-dropdown").children("li").children("a").on(l,function(e){if(e.stopPropagation(),e.preventDefault(),r.hideSubmenu(n(this).parent("li").siblings("li"),r.settings.effect),r.hideSubmenu(n(this).closest(".nav-menu").siblings(".nav-menu").children("li"),"slide"),"none"==n(this).siblings(".nav-submenu").css("display"))return n(this).children(".submenu-indicator").addClass("submenu-indicator-up"),n(this).parent("li").siblings("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),n(this).closest(".nav-menu").siblings(".nav-menu").find(".submenu-indicator").removeClass("submenu-indicator-up"),r.showSubmenu(n(this).parent("li"),"slide"),!1;if(n(this).parent("li").find(".submenu-indicator").removeClass("submenu-indicator-up"),r.hideSubmenu(n(this).parent("li"),"slide"),"_blank"===n(this).attr("target")||"blank"===n(this).attr("target"))i.open(n(this).attr("href"));else{if("#"===n(this).attr("href")||""===n(this).attr("href")||"javascript:void(0)"===n(this).attr("href"))return!1;i.location.href=n(this).attr("href")}}))};r.callback=function(n){s[n]!==a&&s[n].call(t)},r.init()},n.fn.navigation=function(i){return this.each(function(){if(a===n(this).data("navigation")){var e=new n.navigation(this,i);n(this).data("navigation",e)}})}}(jQuery,window,document),function(n){"use strict";n(window);n.fn.navigation&&(n("#navigation1").navigation(),n("#always-hidden-nav").navigation({hidden:!0}))}(jQuery);
//]]>
</script>

Kemudian klik tombol Simpan tema dan selesai! Untuk melihat hasilnya bisa cek pada link halaman demo berikut ini


Menu ini akan sangat cocok bagi sobat yang memiliki blog dengan banyak pilihan label atau sebagai katalog menu yang membutuhkan ruang link yang lebih spesifik.

Cukup sekian dari saya tentang Cara Membuat Responsive Mega Menu di Blogger. Semoga bermanfaat dan wassalam.

Related Post

Disqus Codes
  • To write a bold letter please use <strong></strong> or <b></b>
  • To write a italic letter please use <em></em> or <i></i>
  • To write a underline letter please use <u></u>
  • To write a strikethrought letter please use <strike></strike>
  • To write HTML code, please use <code></code> or <pre></pre> or <pre><code></code></pre>
    And use parse tool below to easy get the style.
Show Parser Box

strong em u strike
pre code pre code spoiler
embed

Subscribe Our Newsletter

Notifications

Disqus Logo