Add a module in Menu Item Root

Support desk for Multipurpose Quark Theme
GK User
Wed Jul 15, 2015 11:41 pm
Hi

I’m using the restaurant version of Quark. I want to place a pop-up search module to the right of the classic menu.

So my question is… How do I add a module in the Menu Item Root? (not in a sub menu as described in your documentation)

Thanks
User avatar
Senior Boarder

GK User
Fri Jul 17, 2015 10:59 am
Hello,

There is no way to create a module on the 1 level menu item. The only way is create a new module position near the menu and adjust its styling to your needs - please remember that it is a more complex custom work beyond of our technical support.
User avatar
Administrator

GK User
Fri Jul 17, 2015 2:53 pm
Ok.

1: Can I place my search module in the cart position? (I tried but it did not show)

2: If I create a new module position next to the nav bar, how can I also make it show inside the fixed menu?

3: How come almost none of your recent templates have a search module (icon) in the navbar?
User avatar
Senior Boarder

GK User
Sat Jul 18, 2015 2:14 pm
1) No - this position is specially prepared only for the cart module.

2) You have to put it at least inside #gkHeaderNav > div element.

3) It is a design thing - unfortunately I'm not responsible for this decision.
User avatar
Administrator

GK User
Sun Jul 19, 2015 9:25 am
Could you please advice me where to find the #gkHeaderNav > div element. Or do you mean I should use <div class="gkHeaderNav"> together with e.g modulesanywhere?
User avatar
Senior Boarder

GK User
Mon Jul 20, 2015 11:18 am
This element exists in the layouts/default.php file.
User avatar
Administrator


cron