A
A
Alexander2020-04-20 16:33:07
Prestashop
Alexander, 2020-04-20 16:33:07

How to force categories to be rendered in prestashop modal window on desktop version of website?

Greetings dear community
Faced a difficulty, I just can’t understand how the menu display mechanism works

By default, the behavior is this
On a mobile device, when you click on a hamburger on the left, a top menu with a list of categories opens
This case is displayed through a bootstrap modal
On the desktop version, this is displayed differently In the main horizontal menu

I need to change the default behavior
I want to keep the display of categories in the modal, just like on a mobile device
I made a button that opens the modal

<button id="menu-icon" class="btn" data-toggle="modal" data-target="#mobile_top_menu_wrapper">

But I can’t figure out how to force the content to be rendered in the modal body
, can someone tell me?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question