Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mohamed Sayed 1 year, 9 months ago.

Assisted by: Mohamed Sayed.

Author Posts
February 21, 2023 at 5:54 pm #13081853

othmaneB-4

Tell us what you are trying to do?

I need to make the Menu language switcher clickable, not on hover

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

hidden link

February 21, 2023 at 7:41 pm #13082183

Mohamed Sayed

Hi there,
Thanks for contacting WPML support, I will be glad to help you.

The menu language switcher is expected to match the menu items style, so if the menu items expand on hover the language switcher will behave the same way.

So I suggest enabling the "Custom Language switcher" option from WPML > Languages and setting the language switcher style to "Dropdown click".

Then you can use the WPML shortcode to add the custom switcher to your header instead of the menu switcher:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#using-wpml-shortcodes

Regards,
Mohamed

Screenshot_914.jpg
Screenshot_915.jpg