Jump to content

Problem with Prestashop default menu module (desktop/mobile display)


Recommended Posts

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

Share this post


Link to post
Share on other sites
  • 1 month later...

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 by scobiehague
Missed detail. (see edit history)

Share this post


Link to post
Share on other sites

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

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 1 month later...
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 !!!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More