Skip Navigation

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

Problem:
If you're experiencing issues with the language switcher not appearing correctly on mobile devices while using the Avada theme, where it is hidden by the container below, we can help.
Solution:
We recommend adding specific CSS to adjust the z-index of the elements involved. Please navigate to Appearance > Customizer > Custom CSS area in your WordPress dashboard and add the following CSS code:

#main {z-index: 0; position: relative;}

This adjustment should make the language switcher visible on mobile devices.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/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 at WPML support forum 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 0 replies, has 2 voices.

Last updated by sonT-3 2 months, 4 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
November 15, 2024 at 3:49 am #16405597

sonT-3

Background of the issue:
I'm trying to have the language switcher appear in the header of my site using the Avada theme. It displays perfectly on desktop but is hidden on mobile.

Symptoms:
The language switcher dropdown is covered and not showing in full on mobile, hidden by the container below it.

Questions:
How can I adjust the z-index to make the language switcher visible on mobile?

November 18, 2024 at 5:31 pm #16416174

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there,

I would like to kindly request temporary access (wp-admin and FTP) to your site in order to thoroughly examine the issue. The necessary fields can be found below the comment area. When you log in to leave your next reply, please be assured that the information you enter is private and will only be visible to you and me.

Our Debugging Procedures

I will thoroughly review various settings in the backend to determine if the issue can be resolved. While I will not make changes that affect the live site, it is still advisable to back up the site before granting us access. Should further debugging be necessary, I will create a duplicate and work in a separate, local development environment to avoid any impact on the live site.

Privacy and Security Policy

We have stringent policies in place regarding privacy and access to your information. For more details, please refer to: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

IMPORTANT

- Prior to granting us access, please ensure that the site files and database are backed up.

If you do not see the wp-admin/FTP fields, please refrain from posting your website details as they will be made public. Kindly request me to enable the private box if you do not see the required wp-admin/FTP fields. You can find the private box by following this link: hidden link

I will await your response.

Kind regards,
Mihai Apetrei

November 19, 2024 at 10:46 pm #16421826

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully.

I am spending more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

November 20, 2024 at 11:05 pm #16426762

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there,

I want to inform you that I’m still investigating this matter and testing various options.

As soon as I have an update, I will reach out to you.

For now, I will keep this ticket assigned to myself.

November 22, 2024 at 4:04 am #16431755

sonT-3

Hi Mihai,

Could you please let me know the current status of the investigation when you get a chance?

November 22, 2024 at 1:01 pm #16433994

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

Can you please go to Appearance > Customizer > Custom CSS area > add the following CSS code and save:


#main {z-index: 0; position: relative;}

I think this should fix it. But it took me a while to understand how things are currently set up.

I hope that you will find this information helpful.

November 22, 2024 at 2:04 pm #16434170

sonT-3

It works. I scratched my head in Avada trying to fix that. Your support helped. Thank you!