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 2 replies, has 2 voices.

Last updated by ziga pipan 1 year, 7 months ago.

Assisted by: Bigul.

Author Posts
April 19, 2023 at 10:44 am #13504021

ziga pipan

When my site loads it shows wihtout the css for few moments
hidden link

before it load normally
hidden link

Usually I solve this by adding a preloader script code to delay showing a site until it's rendered
hidden link

But this script is not loading if I have WPML enabled. I know this because even the favicon is not loading, which is in this code also.
IF I disable WPML Multilingual CMS it works ok.

I have done 300+ pages with this, also with wpml and never had problems 🙁

April 20, 2023 at 4:32 pm #13513285

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

As we discussed in the chat maybe you have to set a priority for the custom javascript. So please check it with the Divi theme support because the issue is happening without WPML also. Refer to the following thread for more details and let us know your feedback.

https://wordpress.stackexchange.com/questions/91961/hook-wp-enqueue-scripts-priority-has-no-effect

--
Thanks!

Bigul