AbanteCart Community

eCommerce construction => Templates => Topic started by: squinn on June 11, 2019, 11:13:08 PM

Title: Main menu - Mobile View
Post by: squinn on June 11, 2019, 11:13:08 PM
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.
Title: Re: Main menu - Mobile View
Post by: Basara on June 12, 2019, 04:15:40 AM
Hello
You can hide with CSS media https://www.emailonacid.com/blog/article/email-development/emailology_media_queries_demystified_min-width_and_max-width/
Title: Re: Main menu - Mobile View
Post by: squinn on June 12, 2019, 11:01:35 PM
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  :)
Title: Re: Main menu - Mobile View
Post by: elio11 on July 09, 2019, 03:31:27 PM
Thank you for sharing with me also helped me.