Skip to content Skip to sidebar

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

Problem:
You are using WPML on your site and are trying to exclude certain elements from being removed by the 'Remove Unused CSS' feature in the WP Rocket plugin. You are experiencing issues on the front end with the second language when using this feature.
Solution:
We recommend contacting the WP Rocket support team directly for assistance with configuring their settings to work well with your site, as this issue involves a third-party plugin and falls outside our scope of support.

If this solution is outdated or does not apply 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. Should you need further assistance, please open a new support ticket with us.

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 1 reply, has 0 voices.

Last updated by Carlos Rojas 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
November 6, 2025 at 9:44 pm #17555616

safwatk

Background of the issue:
I am using WPML on my site hidden link and I am trying to exclude certain elements from being removed by the 'Remove Unused CSS' feature in the WP Rocket plugin.

Symptoms:
I have an issue on the front end with the second language when using the 'Remove Unused CSS' feature in WP Rocket.

Questions:
How can I exclude specific elements from the 'Remove Unused CSS' feature in WP Rocket?

November 7, 2025 at 9:19 am #17556403

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for reaching out to us.

We're happy to help with any issues related to WPML. However, since your question involves the configuration of a third-party plugin —WP Rocket— it falls outside the scope of our technical support.

To ensure you receive the most accurate guidance, we recommend contacting the WP Rocket support team directly. They’ll be best equipped to assist you with configuring their settings in a way that works well with your site.

We truly appreciate your understanding and remain available should you need help with anything related to WPML.

Best regards,
Carlos