Skip Navigation

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

Problem:
The client is experiencing style issues with checkboxes that started occurring after a recent update.
Solution:
We have confirmed that this issue will be resolved in the next WPML release. If you're experiencing this or any other issues with WPML, we recommend you open a new support ticket detailing the problem so that we can assist you in resolving it.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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.

If you need further assistance, please contact us through our support forum 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.

Tagged: 

This topic contains 8 replies, has 1 voice.

Last updated by Andrey 4 months ago.

Assisted by: Andrey.

Author Posts
March 5, 2025 at 1:30 pm #16779018

Daniel Dorado

Background of the issue:
I am trying to check checkboxes, but they are giving weird style issues since the last update.

Symptoms:
Checkboxes are displaying with unexpected styles.

Questions:
What caused the style issues with checkboxes after the update?
How can I fix the checkbox styling problem?

March 5, 2025 at 1:36 pm #16779082

Daniel Dorado

input[type=checkbox]:checked::before {
/* content: ''; */
/* width: 4px; */
/* height: 8px; */
/* border: solid var(--wpml-blue); */
/* border-width: 0 2px 2px 0; */
/* position: absolute; */
top: 4px;
left: 8px;
/* transform: rotate(45deg); */
}

hidden link

override general wp styles is real bullshit...

March 5, 2025 at 5:49 pm #16780202

Andrey
WPML Supporter since 06/2013

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

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

Thank you for contacting WPML support.

Do I understand correctly that there is no issue if you deactivate WPML? On what admin page are you seeing this problem?

March 9, 2025 at 1:28 pm #16793141

Daniel Dorado

For sure if i deactivate WPML no issues.

It's happening at every checkboxes everywhere

March 11, 2025 at 12:04 pm #16801434

Daniel Dorado

I had to come to this file

sitepress-multilingual-cms/vendor/otgs/installer/res/css/admin.css

and completely comment this class

input[type=checkbox]:checked::before {
/* content: ''; */
/* width: 4px; */
/* height: 8px; */
/* border: solid var(--wpml-blue); */
/* border-width: 0 2px 2px 0; */
/* position: absolute; */
/* top: 4px; */
/ *left: 8px; */
/* transform: rotate(45deg); */
}

Then checkboxes are displayed correctly and honestly. It's amazing that your team has introduced this UI bug when developing the new UI interface for WPML, i don't get how is possible that anyone has realized about this...

March 11, 2025 at 12:42 pm #16801661

Andrey
WPML Supporter since 06/2013

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

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

Thank you for your feedback.

We have received a similar issue report, and our team is currently investigating the case. Can you tell us the screen size you are using to view your pages?

March 11, 2025 at 1:05 pm #16801810

Andrey
WPML Supporter since 06/2013

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

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

The development team has added a fix for this issue, which will be available in the next version. For now, you can try turning off script concatenation in WordPress by using the following code:

define( 'CONCATENATE_SCRIPTS', false );

Or keep using your workaround.

March 14, 2025 at 6:07 pm #16818288

Daniel Dorado

"Can you tell us the screen size you are using to view your pages?"

WPML suport at it's best...

That is a silly question brother, the file i provided doesn't have any media queries...
it's a macbook air 13'', pretty normal resolution

I already have this variable defined years ago on my multisite installation and it was failing with that var set to false, so that option you provided was not working at all...

define( 'CONCATENATE_SCRIPTS', false );

Defintely i'm going to start switching all my sites to multilingualpress, your plugin has an horrible behaviour with persistent object caching plus a lot of issues here and there all the time... really tired of this

March 14, 2025 at 7:16 pm #16818443

Andrey
WPML Supporter since 06/2013

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

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

Thank you for your update. I apologize for the trouble you’ve encountered. I have confirmation that this issue will be resolved in the next WPML release.

As you mentioned, if you are experiencing any other issues with WPML, I recommend opening a new support ticket detailing the problem so that it can be addressed. Our support team will assist you in resolving it.

Have a nice weekend.