-
AuthorPosts
-
January 17, 2023 at 12:48 am #1384710
Hello – The Enfold icon elements are not displaying on our test environment after updating – they show up as white boxes. WordPress 6.1.1, PHP 7.4.
January 17, 2023 at 1:52 am #1387996Hi ihf-eramstad,
Thanks for providing us with admin access, the issue on your site is Cross-Origin Resource Sharing (CORS), your website fonts are fetched in another domain (see link in private content) and it is prevented by the server, to fix it please check the solution in our documentation: https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes- (Icons are showing as rectangular boxes)
Best regards,
NikkoJanuary 17, 2023 at 4:07 am #1387999Thank you. I tried the .htaccess addition discussed in the article and then cleared caches, but the problem is persisting
January 17, 2023 at 5:13 am #1388001Hi ihf-eramstad,
Can you give us FTP access? so we can try to debug it.
Just post the credentials in private content.Best regards,
NikkoJanuary 17, 2023 at 7:33 am #1388012Provided – thank you
January 17, 2023 at 8:15 am #1388015Hi ihf-eramstad,
Thanks for giving us FTP access however, the solution does not seem to work.
The workaround I could think of is to use the Better Search & Replace plugin to change the URL from https://subdomain.wpenginepowered.com to https://subdomain.wpengine.com/ however it may be better to request help from your hosting provider first.Best regards,
NikkoJanuary 17, 2023 at 10:34 am #1388023I don’t understand the root cause of this issue. Is there something I can read that explains what is happening?
January 17, 2023 at 6:31 pm #1391371Hi,
The problem is that resources are being served from a different domain than the one they are being served on. In cases like that, the browser will block them for security reasons. If you want to know more, then please do a search online for Cross-Origin Resource Sharing (CORS)
Best regards,
RikardJanuary 17, 2023 at 6:38 pm #1391373Thank you. I never had this problem before, so I’m curious why it’s happening now.
January 18, 2023 at 2:49 am #1393828Hi ihf-eramstad,
It might be due to some policy changes within the hosting provider.
Try to disable CDN on your site and see if this removes the issue, please go to the WordPress Dashboad, then go to WP Engine > Caching > click Disable CDN link which will redirect you to the WP Engine login link, I believe once you logged in, you will see an option to disable CDN.Best regards,
NikkoJanuary 19, 2023 at 1:28 am #1394014I checked caching settings and it appears CDN is not enabled. I really need to get to the bottom of this. What should be my next step?
January 19, 2023 at 4:25 am #1394016Hi ihf-eramstad,
I tried to check the database using better search & replace plugin for wpenginepowered.com however none is found.
Code for fixing CORS does not work including a third-party plugin for enabling CORS.
The problem is, your site is using https://subdomain.wpengine.com however fonts are loaded in https://subdomain.wpenginepowered.com
I think the possible fix/options in the WordPress Dashboard as well as FTP has been triedand I think the next step would be asking help from WPEngine support for the said issue.Try backing up your site first and try to use the last version of Enfold you used or the last backup of your site.
If it produces the same result, the next step would be asking help from WPEngine support for the said issue.Best regards,
NikkoJanuary 20, 2023 at 10:26 pm #1394606Thanks for the help with this. The hosting provider found a setting on their end that was enabled in error, which was causing this problem. It’s now resolved.
January 21, 2023 at 10:32 am #1394623Hi,
Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardJanuary 23, 2023 at 6:20 pm #1394834Please close it.
January 23, 2023 at 8:28 pm #1394840Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Icons not displaying properly after 5.3.1.1 Update’ is closed to new replies.