Skip Navigation

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

Problem:
The client is experiencing issues with the language switcher not displaying correctly on the main page after resetting the templates. The switcher appears, but there are unwanted styles such as colors and frames.
Solution:
If you're facing similar issues with the appearance of your language switcher, it might be due to your current theme applying specific styles to the dropdown. We recommend temporarily switching to a default theme to verify if the issue persists. This step helps isolate whether the problem is with the theme's styling.
For detailed guidance on resolving styling and CSS issues with language switchers, please visit the following links:

This color issue was part of the theme's dropdown, so it was resolved by editing the menu template, navigating to the style settings, and changing the color to white for the Submenu panel style.

Remember to backup your database before making any changes.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please open a new support ticket at WPML support forum.

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.

Our next available supporter will start replying to tickets in about 7.02 hours from now. Thank you for your understanding.

This topic contains 12 replies, has 2 voices.

Last updated by Andrey 1 month, 3 weeks ago.

Assisted by: Andrey.

Author Posts
September 16, 2024 at 4:36 pm #16184945

jiriJ-8

Background of the issue:
I reset all the templates for the switcher and still, there is some colors and frame. See attached the print screen. I need to fix it.

Symptoms:
The main page doesn't show a switcher for all languages.

Questions:
How can I fix the language switcher on the main page?
Why is the language switcher not displaying correctly after resetting the templates?

September 16, 2024 at 4:37 pm #16185025

jiriJ-8

Hi, I dont think it is a proiblem in slug
If so, where I cant find it without going to server folder - I am marketer, not web developer. thanks

September 16, 2024 at 5:47 pm #16185205

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

It seems like the language switcher is visible on the main page.

If the issue is with the appearance of the language switcher, your current theme may be styling the dropdown. To check this, you can temporarily switch to any default theme.

For more information on how to resolve styling and CSS issues for the language switchers, you can visit the following links:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/how-to-fix-styling-and-css-issues-for-the-language-switchers/
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#style-language-switcher

Please remember to backup your database before you proceed.

September 23, 2024 at 8:12 am #16207846

jiriJ-8

Hi, the issue is still on. I changed the template to different template, nothing happened.
I enabled the custom template. Nothing happened.
Any action I have don't change the template what is it now shown.
I told you, I am not familiar with the CSS. I can give you the access to the page and you would fix it please?
Thank you

September 23, 2024 at 5:50 pm #16211320

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

September 24, 2024 at 7:37 am #16212731

jiriJ-8

Yes I agree. Please let me know where are you based, need to allow your IP.

September 24, 2024 at 1:25 pm #16215187

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I am located in Ukraine, but my IP address is dynamic, so I cannot provide you with the static IP.

The following response is confidential.

September 25, 2024 at 8:54 am #16219125
jiriJ-8

Can you send me the form where I put the access info?
May I add some task to this ticket or should I start a new one ? When you will be in you might look at one issue - why I see grid of translated main page differently on dashboard than on published main pages. it has changed after translation. I am not able to repair it (try to change default main page and then advanced translate other site - didn't work out).
thanks

screencapture-mojevitamaxima-cz-en-2024-09-23-10_52_16.png
dashobard.png
September 25, 2024 at 2:34 pm #16221197

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I am sorry; it is supposed to be activated. I will activate it again.

I have created a new ticket for your new question. I will assist here:
https://wpml.org/forums/topic/split-why-i-see-grid-of-translated-main-page-differently-on-dashboard-than-on-published-main-pages/

September 25, 2024 at 5:36 pm #16222160

jiriJ-8

[Removed]

September 26, 2024 at 12:27 pm #16225056

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I have removed the access credentials as you did not put them in the private field.

I looked at the language switcher problem. The frame's color is part of your theme's dropdown, so I had to edit the menu template, go to the styles settings, and change the color to white for the Submenu panel style. It was #F6BDB9, in case you needed it. I'm attaching screenshots.

Vitamaxima-–-Vitamaxima.png
Edit-Menu-with-Elementor.png
September 26, 2024 at 1:06 pm #16225331

jiriJ-8

Thank you Andrey

September 26, 2024 at 1:22 pm #16225488

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

You are welcome 🙂