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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: 

This topic contains 3 replies, has 0 voices.

Last updated by Andreas W. 13 hours, 24 minutes ago.

Assisted by: Andreas W..

Author Posts
January 4, 2025 at 6:47 pm #16563769

hasanH-6

Background of the issue:
I am trying to adjust the language display on my website hidden link. I want to change how the language options appear on mobile devices.

Symptoms:
The language on mobile is not showing correctly, and I don't want it to be in a dropdown menu.

Questions:

January 4, 2025 at 8:11 pm #16563802

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Take kindly note that the behavior on your site is expected and any further customziations are custom work that is not covered by our support policy.

https://wpml.org/purchase/support-policy/

I would like to guide you on this matter, but if you do not have any developer experience you usually might need to consider reaching out to a contractor.

It looks like you have enabled the menu language switcher as dropdown.

This means, on most themes, this menu language switcher will appear inside the hamburger menu on mobile and it will use the same layout.

You can use a CSS media query and set display to none for this element on mobile screens.

@media screen and (max-width: 480px) {
  #menu-item-wpml-ls-4-sv {
    display: none;
  }
}

This will hide the menu item holding the language switcher on screens with a width of 480px or less.

You can save this CSS at WPML > Languages > Language Switcher Options > Additional CSS.

Now, you can create a Custom Language Switcher and use another specific media query remove this one on desktop screens.

Custom Language Switchers can be integrated by PHP or by Shortcode. You will find an option to enable and customize the Custom Language Switcher at WPML > Languages > Custom Language Switcher.

PHP Guide:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/

Shortcode:
https://wpml.org/documentation/support/wpml-coding-api/shortcodes/#wpml_language_switcher

If you need further assistance with this implementation I can make and exception and assist you, but please take note that our supporters ar enot obligated to get pro-active on custom code requests.

Best regards
Andreas

January 5, 2025 at 12:31 pm #16564393

hasanH-6

I truly appreciate that you're making an exception to assist me with this, as I don't have much knowledge in coding. I understand this is an exception. Thank you so much for your understanding! How can I send u login details to WordPress?

January 7, 2025 at 12:51 pm #16569522

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

Best regards
Andreas