Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to publish module below mobile menu #637

Open
Giorgi625 opened this issue Apr 7, 2024 · 7 comments
Open

How to publish module below mobile menu #637

Giorgi625 opened this issue Apr 7, 2024 · 7 comments

Comments

@Giorgi625
Copy link

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
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Author

Giorgi625 commented Apr 10, 2024

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
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Author

Giorgi625 commented Apr 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants