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.

This topic contains 1 replies, has 1 voice.

Last updated by filipposD 1 month, 1 week ago.

Author Posts
May 9, 2025 at 10:26 am #17015928

filipposD

Background of the issue:
I am trying to address an issue with CSS in a popup created by Elementor. The CSS is auto-generated by Elementor and not custom. In the translated version of the site, the CSS remains the same, which causes issues. For example, the CSS selector is #elementor-popup-modal-5615, but in the English version, the popup modal has a different ID (elementor-popup-modal-5666), resulting in the CSS not being applied in the translated language. The issue can be seen on this page: hidden link.

Symptoms:
The CSS for the popup modal is not applied in the translated language because the CSS selector does not match the modal ID in the English version.

Questions:
How can I ensure the CSS is correctly applied in the translated version?
Is there a way to automatically update the CSS selectors for translated content?

May 9, 2025 at 10:50 am #17016043

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Reference to our recent chat, please feel free to add your findings in reply to this ticket here, after checking as prescribed during the chat. And one of my colleague 'll help you further on the matter.

Regards.

May 12, 2025 at 7:17 am #17021165

filipposD

the issue was solved by using css instead ( as suggested )