astroid-framework icon indicating copy to clipboard operation
astroid-framework copied to clipboard

How to publish module below mobile menu

Open Giorgi625 opened this issue 10 months ago • 7 comments

I have website with two languages and I have language switcher module in my header, but on mobile it does not appear anywhere. I would love to show languages below mobile menu. how can this be done?

Giorgi625 avatar Apr 07 '24 21:04 Giorgi625

Any help with this? I know how to do it with canvas menu but, client requires to have mobile menu on left so canvas even though I select button position to left it just changes direction of lines but button stays on right. So I need to use default mobile menu but need to show language module in it.

Giorgi625 avatar Apr 09 '24 19:04 Giorgi625

It work for me — Look at https://grafcomm.ca/ Do you have screenshots of what you want to do or a link to a website we can check?

Chacapamac avatar Apr 10 '24 12:04 Chacapamac

Can you tell me what works for you? I see on your page that there is mobile menu on left, when I open mobile menu there is only menu, there is no any module below menu. I need to get result like this https://etg.ge/en/ burger icon on left and when click on it see menu and langauge module.

Giorgi625 avatar Apr 10 '24 12:04 Giorgi625

Can I modify header php file without fear that it will be rewritten, if I create child template? maybe I will be able to move canvas menu icon to left, I can not do it with css because its class has important attribut already.

Giorgi625 avatar Apr 10 '24 12:04 Giorgi625

I see what you want to do. I wonder if you set the menu module as a copy of your main menu as a Mega Menu? Not sure if it will work?

Chacapamac avatar Apr 12 '24 17:04 Chacapamac

Yep, that will be the way, with Child template.

Can I modify header php file without fear that it will be rewritten, if I create child template?

Chacapamac avatar Apr 12 '24 17:04 Chacapamac

Client agreed to have hamburger icon on right side so I decided to use Canvas with menu and language modules in it, instead of built in Mobile menu. I just modified css to make canvas icon have same width lines.

Giorgi625 avatar Apr 12 '24 18:04 Giorgi625