templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
76 stars 12 forks source link

How to publish module below mobile menu #637

Open Giorgi625 opened 2 months ago

Giorgi625 commented 2 months ago

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 commented 2 months ago

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.

Chacapamac commented 2 months ago

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?

Giorgi625 commented 2 months ago

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 commented 2 months ago

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.

Chacapamac commented 2 months ago

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 commented 2 months ago

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?

Giorgi625 commented 2 months ago

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.