nicoh76 Posted September 3, 2020 Share Posted September 3, 2020 Hello all, I'm a beginner and I have created my first shop under PS 1.7.6 (still under construction). I have an issue regarding the usage of the default menu module provided by Prestashop : I would like to display the menu only for the mobile and not for the desktop view. Here, what I can/cannot do : menu desktop enabled + mobile enabled > OK menu desktop enabled + mobile disabled > OK menu desktop disabled + mobile disabled > OK > what I would like : menu desktop disabled + mobile enabled > NOT OK Is there anybody that have this issue ? Thank you in advance for your help and support Nico Link to comment Share on other sites More sharing options...
scobiehague Posted October 15, 2020 Share Posted October 15, 2020 (edited) Yes I also have this issue in all versions of Prestashop (tried upgrading the module too). Popup says "success" when clicking 'Enable mobile' and option toggles to 'Disable mobile', but action has no effect, and after page refresh the option is toggled back again. Tried clearing cache in 'Performance' and the browser before refreshing to test the mobile page. I assume this is a bug. Any workarounds? Edited October 15, 2020 by scobiehague Missed detail. (see edit history) Link to comment Share on other sites More sharing options...
nicoh76 Posted October 15, 2020 Author Share Posted October 15, 2020 Hello I have found a bypass. I think it is elegant :) just by using css it works great for me : themes/classic/assets/css/custom.css #header .header-top .menu { padding-left: 15px; margin-bottom: .375rem; display: none !important; } In that way the top menu is hidden in desktop view but still available for the mobile view. Hope that helps Cheers Nico 1 1 Link to comment Share on other sites More sharing options...
Sebastián Contreras Posted December 8, 2020 Share Posted December 8, 2020 On 10/15/2020 at 1:01 PM, nicoh76 said: Hello I have found a bypass. I think it is elegant just by using css it works great for me : themes/classic/assets/css/custom.css #header .header-top .menu { padding-left: 15px; margin-bottom: .375rem; display: none !important; } In that way the top menu is hidden in desktop view but still available for the mobile view. Hope that helps Cheers Nico It`s work perfect on Prestashop 1.7.6.8 Thank you very much Nico !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now