Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to modify the CSS for the language switcher to have it show up in hover mode in the footer and also in the mobile menu.
Solution:
We recommend the following steps:
1. To add a language switcher to any place on your site, please follow the instructions in our documentation: Adding language switchers using PHP and shortcodes.
2. If you want to create a custom language switcher, you can find the necessary steps here: Custom language switcher.
If you find the documentation challenging, we suggest hiring a WPML contractor from WPML contractors or a developer to assist you.

Please note that the solution provided might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at WPML known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please do not hesitate to open a new support ticket with us for further assistance.

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 3 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year, 4 months ago.

Assisted by: Mihai Apetrei.

Author Posts
January 30, 2024 at 3:41 pm #15245253

shawutijiangy

Tell us what you are trying to do?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
change css button

January 30, 2024 at 3:52 pm #15245448

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Can you please elaborate a bit more on what exactly you mean and what you are trying to accomplish?

If you have screenshots or URLs that I can look at also, that would be great.

Mihai Apetrei

January 30, 2024 at 3:54 pm #15245453

shawutijiangy

hidden link

January 30, 2024 at 7:25 pm #15246285

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Thank you for the explanation.

So, what you would like is to have them show up in hover mode in the footer and also in the mobile menu.

If that's correct:

1. Here is how you can add a language switcher to any place in your site:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/

2. You can also create a custom language switcher as explained here:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/

In case this documentation feels too difficult for you, I recommend that you hire a WPML contractor (https://wpml.org/contractors) or a developer so that things can go fast and safely.

Mihai