Skip to content Skip to sidebar

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

Problem:
The client was experiencing an issue where Elementor icons were not visible on translated pages, displaying as empty rectangles instead. Despite updating WPML plugins and regenerating Elementor CSS, the problem persisted.
Solution:
We identified that the issue was due to CORS restrictions, with Elementor's Font Awesome files being loaded from a different domain than the page. We recommended the following steps:
1. Go to Elementor → Tools.
2. Click Regenerate CSS & Data.
3. Clear all caches: WordPress cache, server cache, CDN cache, and browser cache.
4. If the issue persists, ask the hosting provider to add a CORS rule for font files:

<ifmodule mod_headers.c><br />  <filesmatch "\.(ttf|otf|eot|woff|woff2)$"><br />    Header set Access-Control-Allow-Origin "*"<br />  </filesmatch><br /></ifmodule>

Additionally, ensure that the secondary language page loads Elementor assets from the same domain as the current language.

If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 needed, please open a new support ticket at WPML support forum for further assistance.

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 0 voices.

Last updated by Carlos Rojas 1 month, 2 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
May 31, 2026 at 4:17 pm #18071761

anneH-2

I'm using Elementor icons and just noticed the icons are not visible on any of my translated pages. Instead of an icon it shows empty rectangles/square placeholders.

June 1, 2026 at 9:24 am #18072658

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
Thank you for contacting us

I checked the browser console and the issue seems to be caused by Elementor’s Font Awesome files being loaded from a different domain.

The page is loaded from:

rapiddogwear.com

but the icon font is requested from:

rapiddogwear.nl

The browser blocks this request because the .nl domain does not send the required CORS header, so the Elementor icon font cannot load and icons appear as squares.

Please try the following:
- Go to Elementor → Tools
- Click Regenerate CSS & Data
- Clear all cache: WordPress cache, server cache, CDN cache, and browser cache
- Check the translated page again

If the issue continues, please ask your hosting provider to allow font files to be loaded across both domains by adding a CORS rule for font files, for example:

<IfModule mod_headers.c>
  <FilesMatch "\.(ttf|otf|eot|woff|woff2)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>

Alternatively, the safest solution is to make sure the secondary language page loads Elementor assets from the same domain as the current language, not from the other language/domain.

Also, please confirm whether the site is using different domains per language in WPML → Languages. WPML supports multilingual domains, but all assets must be correctly available from the domain where the page is being loaded. WPML can translate theme/plugin texts and manage multilingual URLs, but blocked CSS/font assets need to be handled at the server/cache/domain level.

Best regards,
Carlos

June 4, 2026 at 8:35 am #18080695

anneH-2

Thanks, adding a CORS rule for font files solved it.

June 4, 2026 at 8:40 am #18080736

Carlos Rojas
WPML Supporter since 03/2017

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

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

Great!

Please don't hesitate to contact us if you need our assistance in the future with WPML. We are here to help 🙂

Have an excellent day!