Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 4 replies, has 3 voices.

Last updated by Waqas Bin Hasan 1 year, 12 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
August 17, 2023 at 8:12 am #14243523

ninoS-11

When i click to change the language for example, english to german the language switcher disappears in my header and the buttons in the header become grey.

hidden link

And also the product layout i created for woocommerce doesnt work with WPML?

August 17, 2023 at 9:33 am #14244441

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hello!

I checked it out and the problem only seems to happen in the german page: hidden link

I can see that the actual template is different, since the button colors and overall position is all different.

1) In order to provide i better support, i'd gratly appreciate if you could send me the WPML debug information?
You can follow this guide to find it: https://wpml.org/faq/provide-debug-information-faster-support/

I have enabled the correct field for it found on your next reply

2) Would you kindly tell us if you are using a header template in this page? or maybe creating the header in any other way (theme options, etc).

3) Would you please let us know how you're adding the language switcher to that header?

That info will surely help us understand what to do next.

Regards,

August 17, 2023 at 9:39 am #14244483

ninoS-11

I added the debug.

I've indeed created a header template through my HUB theme and i added the language switch with the elementor widget.

August 17, 2023 at 11:23 am #14245457

ninoS-11

PS and how does the changing of the colors of the buttons in the header happen?

August 18, 2023 at 9:59 am #14251307

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Thank you for contacting the support.

Issue #1
I checked all 3 of the following URLs on your site:

- English: hidden link
- German: hidden link
- Dutch: hidden link

And I can see language switcher and same layout in all three (see attached). Please let me know if I am missing something, an explanation 'll be helpful in this case.

Issue #2
About button colors, I also checked and found that in German and Dutch versions, there seem to be inline (forced) style applied on the buttons. If you remove these inline styles, buttons follow the same style as of default (English) - see attached. So probably you need to check the translations, if you have applied any styles directly on the button, the widget or related.

However, if this second issue continues to appear, I recommend opening a separate ticket because as per forum policy we can only handle one issue per ticket. So you can get more to the point help, without mixing up several issues in one long ticket.

In this ticket I'll continue to help with Issue #1 only.

Regards.

remove-styles.jpg
nl.jpg
en.jpg
de.jpg
btn-en.jpg
btn-de.jpg