Author Topic: Mobile Menu 3 Bars Removal(Solved)  (Read 1796 times)

Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
Mobile Menu 3 Bars Removal(Solved)
« on: September 30, 2016, 08:26:01 AM »
I have searched and can't find this anywhere. I know it's in core template files, but give me a hint.

I want to remove the 3 Bar Menu button in mobile view. The rest of my mobile works great, but the 3 bar menu at this point does nothing.  Google recognizes the site as mobile so no worry there.

Firebug returns this:

<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"><span class="sr-only"></span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>

In header.tpl I commented out this, but still get it.

 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
         <span class="sr-only"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </button>


Am I close?
« Last Edit: October 01, 2016, 10:35:18 AM by digitalt »

rvalani

  • Guest
Re: Mobile Menu 3 Bars Removal
« Reply #1 on: September 30, 2016, 12:23:13 PM »
Try display:none and see if this works then comment it and also clear your browser cache and try

Offline digitalt

  • Full Member
  • ***
  • Posts: 116
  • Karma: +20/-0
    • View Profile
Re: Mobile Menu 3 Bars Removal(Solved)
« Reply #2 on: October 01, 2016, 10:37:36 AM »
Figured it out finally.

Remove from custom.js:


 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
         <span class="sr-only"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </button>

Clear cache and no more hamburg button. I forgot to clear cache in A-cart.

 

Powered by SMFPacks Social Login Mod