News:

AbanteCart v1.4.2 is released.

Main Menu
support

Mobile Menu Housekeeping

Started by digitalt, September 25, 2016, 05:13:12 PM

Previous topic - Next topic

digitalt

The one annoying thing with the mobile menu was the "double" menu that would appear when clicking the 3 bar thing in the upper right corner.

There is a simple fix for this but whatever you do make sure you have backed everything up before attempting this.  I installed the dev_tools and cloned the default template before I tried this. 

Anyway, here goes.

1. Find storefront/view/default/javascript/custom.js  or if you cloned the default template go to the extension folder and find the folder that you named your clone.

2. Go to about line 28 where it says // Top Main Menu mobile.

3. A few lines down you will see // Populate dropdown with menu items

4. Delete all lines in between

Also turned off cart block in layout so now the 3 bars do basically nothing. Wish I could get rid of them.  Any ideas?

You can check it out at cbto.us.  I rearranged some blocks to show the search box by default also.

The more I work with Abantecart tha more I like it.


eCommerce Core

"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

ktchost.com

Nice information, thank you for sharing as its useful for other members as well
ktchost.com - Reliable Web Hosting Provider
█ E-commerce Ready Hosting | Pure SSD Cloud/VPS | Offshore Dedicated Server
█ 24/7 Reliable Tech Support | Monitoring Service | R1Soft Backup

digitalt


Forum Rules Code of conduct
AbanteCart.com 2010 -