Ticket #24383 - Compressed menu
Hi, how can i make the menu compressed for mobile version? Because i have a lot of categories and they make my page really long. I disabled the AMP version for mobile, then i’m modifying it on elementor. Thanks
Hi, how can i make the menu compressed for mobile version? Because i have a lot of categories and they make my page really long. I disabled the AMP version for mobile, then i’m modifying it on elementor. Thanks
Comments
There is no such option in back office.
You can do that using custom CSS
Do you know where is the file to modify the CSS?
Just add it to Theme Settings → Customer CSS
Do you know the code to insert?
I checked, if i’m correct i should insert the following code:
And this part for the javascript part:
And this CSS for the rule to display only for mobile version and keep the desktop version the same:
Do you think could be ok?
Yes, absolutely it can be.
I tried with this code:
In javascript:
Is working when i click on the “Category” title, but i need to display categories only when i click on the Title “category”, when i load the page it should’t display any category. How to fix this?
try this selector
No, with that selector it appears the category tree
Try this
Unfortunately we don’t have much time to provide code customisation
Still have the same problem. Ok i keep it not compressed, at least is working now. You can close the ticket, when the AMP version will be ready let me know because on that version i hadn’t the problem and i can complete everything. Thanks!
For some reason Prestashop still didn’t give us any feedback. I let you know when will have some news