[Resolved] The language switcher not return when mouse away in Mobile View
This thread is resolved. Here is a description of the problem and solution.
Problem: 1. The client needed assistance with the WPML language switcher not retracting when the mouse moved away and had added custom code to remove the background and border. 2. The client wanted to replace the language switcher widget with a global icon that would display a dropdown list of languages on mouseover.
Solution: 1. We recommended creating a custom language switcher by following the instructions in our documentation: Adding Language Switchers using PHP and Shortcodes. Within the customization options, the client should select the "Dropdown Click" feature to enable the language switcher to open and close with a tap on mobile devices.
If the solution provided does not apply to your case, or if it seems outdated, we encourage you to open a new support ticket. We also 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. For further assistance, please visit our support forum.
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.
2. And
Is it possible to make a Global Icon replaced to this switcher widget, and ;
when moseover the Global Icon, the language dropdown list to be showed 3 language options.
Due to there is to show the current language on first.
Thank you for reaching out. I'll do my best to address your inquiries accordingly.
1. Could you please share the video in question again? Perhaps you could upload it to Google Drive or Dropbox.
2. Regrettably, there isn't an option available to accomplish this task. It would require custom programming work, which falls outside the scope of our support. In this case, I recommend considering reaching out to one of our certified partners listed at this link: http://wpml.org/documentation/support/wpml-contractors/
Within the custom language switcher customization options, select the "Dropdown Click" feature, as illustrated in the attached screenshot. This will enable users to open and close the language switcher on mobile devices with a simple tap, similar to the functionality demonstrated on this page: hidden link
Feel free to access the sandbox site using the provided link to examine the settings firsthand. hidden link
Let me know if you have any further questions or if there's anything else I can assist you with.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.