This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was unable to click the language switcher button in the mobile header using Divi. The switcher was disappearing into the hamburger menu on mobile, and despite attempts to activate the button on desktop, add a second button, and deactivate CSS options in WP Rocket, the issue persisted.
Solution:
We found that the issue was due to the z-index settings. The row containing the language switcher had a z-index of 3, while the columns had a lower z-index, causing the language switcher to be unclickable because it was positioned behind the row. To fix this, we recommended:
1. Assign a higher z-index (greater than 3) to the column containing the language switcher from the Divi editor.
2. Apply the CSS from the screenshot provided to make the language switcher clickable.
If this solution does not apply to your situation, or if it seems outdated, we encourage you to check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.
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.
This topic contains 3 replies, has 2 voices.
Last updated by 1 year, 1 month ago.
Assisted by: Prosenjit Barman.