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.

This topic contains 2 replies, has 2 voices.

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

Assisted by: Waqas Bin Hasan.

Author Posts
June 20, 2024 at 10:21 am #15762759

adrianoG-10

Background of the issue:
I'm trying to change the background color for the language selector on my site hidden link. I'm using the Elementor WPML widget, but the setting for changing the background color doesn't work. I tried using custom CSS in the WPML language selector panel, but the CSS code can't override the original CSS line set to #ffffff !important. watching with Developer tool, the code I added is strikethrough (so is overcome from the original code) and only works in preview mode when changing the original code (Please look at the second screenshot).
So, The custom CSS code for changing the background color of the language selector is not working because the original CSS line is set to #ffffff !important.
Many thanks

Symptoms:

Questions:
How can I change the background color for the language selector?....

June 20, 2024 at 10:56 am #15763038

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Reference to our recent chat, I've reopened this ticket which you had marked as resolved and working on it.

I'll get back to you accordingly.

Regards.

June 21, 2024 at 6:12 am #15771152

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for your patience and cooperation.

I've tried to reproduce the problem at hidden link but it seems to work fine for me in all the cases (i.e. Menu, Widget and Footer switchers) - please see attached.

However, if you think you can reproduce the problem, please use this sandbox site hidden link (one-click login) and let me know the exact steps so I can then try to reproduce it.

menu-ls.jpg
ls-css.jpg
legacy-dropdown-click.jpg
footer-ls.jpg