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 1 reply, has 2 voices.

Last updated by Noman 3 months, 2 weeks ago.

Assigned support staff: Noman.

Author Posts
June 26, 2019 at 5:15 pm #4094289

pattarinP

Tell us what you are trying to do?

https://wpml.org/forums/topic/how-to-hide-the-language-switcher-but-display-1-specifiek-language/

I has same issue and found this ticket then solve problem
.menu-item-wpml-ls-10-ko { display: none; }

it's working really thank you

but

I need hide specifiek language on mobile menu too

i try to use this code

@media (max-width: 990px) {
.menu-item-wpml-ls-10-ko {display: none; }
}

but it's not working on mobile

could you help me?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

June 26, 2019 at 5:32 pm #4094375

Noman
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. I have checked your site and I find out that this css will do the trick for your case:

@media (max-width: 990px) {
.menu-item-wpml-ls-10-ko {display: none !important; }
}

I have added !important; at the end of css. I hope it helps.

Thank you and have a great day.