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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Tirane (GMT+02:00)

This topic contains 7 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 7 months ago.

Assisted by: Marsel Nikolli.

Author Posts
November 9, 2023 at 10:59 am #14764949

bernhardF-8

Tell us what you are trying to do?
I try to implement a language switcher in the style of the heading, but the background is always black and the hover of the languages is white...how can I fix that?

Is there any documentation that you are following?
no

Is there a similar example that we can see?
not yet...I wopuld have to activate it again, but I can give you admin rights

What is the link to your site?
hatrixelectronics.com

November 9, 2023 at 12:57 pm #14767085

Marsel Nikolli

Hi,

Thank you for contacting WPML Support.

I would need some more information to better understand your situation, could you please tell me which language switcher are you using (the default one or a custom language switcher)?

* Feel free to send any image/video that could better demonstrate the issue you are having.

From the description, it seems to be an issue related to CSS styling, different themes have different styles applied and sometimes happens that the WPML Language Switcher CSS styles are overwritten from the theme styles.

You can check the link below with some info regarding language switcher styling:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/how-to-fix-styling-and-css-issues-for-the-language-switchers/

Looking forward to your reply,
Marsel

November 9, 2023 at 1:35 pm #14767537

bernhardF-8

I use the default one in header...I tried to switch some settings in jevelin theme, but no effect...

November 9, 2023 at 4:46 pm #14770065

Marsel Nikolli

Hi,

Would it be possible for you to provide any image/video showing the issue or any staging site where I can see the issue you are having?

* Please note that our forum doesn’t provide support for custom CSS work, we suggest you contact one of our third-party contractors who specialize in custom work with WPML: https://wpml.org/contractors/

Let me know if have any questions.

Looking forward to your reply,
Marsel

November 11, 2023 at 9:31 am #14781315

bernhardF-8

Here you can see what happens when I integrate the default language switcher as dropdown in header menu...It is black instead of the main menu style, and the hover is strange...

Screenshot 2023-11-11 102935.png
Screenshot 2023-11-11 102927.png
November 13, 2023 at 9:29 am #14786709

Marsel Nikolli

Hi,

Thank you for the screenshots and explanations regarding the issue.

From the images it seems that the CSS styling of the language switcher is being overwritten somehow. I would need to inspect the language switcher on your website to see what is happening. There might be some custom CSS coding needed to fix the issue.

* Please note that our forum doesn’t provide support for custom CSS work, we suggest you contact one of our third-party contractors who specialize in custom work with WPML: https://wpml.org/contractors/

Looking forward to your reply,
Marsel

November 15, 2023 at 7:09 pm #14819927

bernhardF-8

okay can you take a look iin backend or something?

November 16, 2023 at 8:17 am #14822615

Marsel Nikolli

Hi,

I might be able to check the issue further and see what is going on with the language switcher styling if you could activate the language switcher on your website.

Please mind that, as mentioned before, given the nature of the support forum we can’t provide custom coding work.

Please refer to our documentation regarding issues with CSS styling of the language switcher:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/how-to-fix-styling-and-css-issues-for-the-language-switchers/

Kind regards,
Marsel

The topic ‘[Closed] Style of the language switcher’ is closed to new replies.