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
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Noman 8 months ago.

Assisted by: Noman.

Author Posts
October 7, 2024 at 4:14 pm #16262874

mauroG-14

Background of the issue:
I need a language switcher on mobile with dropdown selection for my site hidden link. I have set a dropdown switcher on the site.

Symptoms:
The language switcher voices don't appear in a dropdown on mobile; they are shown as a vertical list instead.

Questions:
How can I get the dropdown switcher to work on mobile?

October 8, 2024 at 2:31 pm #16265918

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I can see the issue on your site as you can see in the attached screenshot.

I’ve examined the source code and I suspect this issue might be arises due the below CSS rules:

#main-header .et_mobile_menu li ul, 
.et_pb_fullwidth_menu .et_mobile_menu li ul, 
.et_pb_menu .et_mobile_menu li ul {

    visibility: visible !important;
    display: block !important;
    padding-left: 10px;

}

Can you please try to remove/override that CSS if possible and see if this resolves the issue.

If the issue still persists, please add the debug report in the Debug Information box. I have also enabled debug info box for your next reply: https://wpml.org/faq/provide-debug-information-faster-support/

Thank you

language switcher.png
Css changed.png

The topic ‘[Closed] Dropdown switcher on mobile’ is closed to new replies.