News:

AbanteCart v1.4.2 is released.

Main Menu
support

Main menu - Mobile View

Started by squinn, June 11, 2019, 11:13:08 PM

Previous topic - Next topic

squinn

I only require the main menu (the top one: account | cart | checkout) on desktop view. 

The responsive view brings it down to a drop down 'main menu' and further scaling down gives the classic hamburger view - but I do not need either of these.
The category menu is also responsive and has 'Go to..' which allows access to account | cart |checkout, making the responsive main menu superfluous (except on desktop.)

I have tried deleting code in custom.js / header.tpl based on an answer to a similar question posed in 2016.  The code had changed a bit, but it was still fairly obvious which bits related to the menu.  However, it didn't remove the menu from mobile view unfortunately, nor seem to affect it in any way. 

Any help would be greatly appreciated.


squinn

Thanks so much for your reply :D  I hadn't thought of that and it should solve it.  I'll give it a go in a while  :)

elio11

Thank you for sharing with me also helped me.

mincefill

It sounds like you're trying to keep the main menu visible only in the desktop view and remove the mobile versions (dropdown and hamburger). Since your changes to `custom.js` and `header.tpl` didn't work, I would recommend checking your CSS files. You can hide the mobile menu by targeting the mobile-specific classes or IDs and applying `display: none;` for smaller screen sizes. Also, ensure that any JavaScript responsible for switching the menu views is disabled or adjusted. You might need to tweak your media queries to ensure the menu behaves the way you want across different screen sizes. If you're still stuck, checking your theme's documentation or reaching out to the theme developer might give you some insight into the specific classes or functions managing the mobile menu.

Forum Rules Code of conduct
AbanteCart.com 2010 -