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 11 replies, has 4 voices.
Last updated by Dražen 4 years, 9 months ago.
Assisted by: Dražen.
Author | Posts |
---|---|
August 19, 2020 at 7:56 am #6828761 | |
driesD-5 |
The Style of the original page is not the same on the translated pages. For 2 days I am trying to find a solution. I tried copying the main page and changing it. I searched the forum for similar topics and tried changing some specs, but still the style isn't changed. image: Style in ENGLISH --> original home page in ENGLISH |
August 19, 2020 at 2:08 pm #6831621 | |
George Botsev WPML Supporter since 02/2014
Languages: English (English ) Timezone: Europe/Sofia (GMT+03:00) |
Hello and thank you for contacting us. If this is not helping, I guess we need to take a deeprer look and we will need the means to access your site and check. |
August 20, 2020 at 10:29 am #6837417 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. From what I can see, there's a custom field for the Elementor's custom styling that is set to "not translate" for the moment. This might be the custom field that carries over the custom styling to the translated pages so you would need to set that to "copy" (check my screenshot). Related documentation: You can go to WPML > Settings > "Custom Fields" section > Show system fields > search for "css" > set it to copy (click the lock first) and then save. Now go to the default language homepage and make a small change then save it. After that, go to the translated page, make a small edit and save it. See if the custom CSS (styling) is now carried over. I will be waiting for your confirmation. Kind regards, |
August 20, 2020 at 11:45 am #6838055 | |
driesD-5 |
Hi Mihai, |
August 21, 2020 at 2:26 pm #6846363 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi and thank you for the confirmation. There might be a compatibility issue in the middle between either the theme or the editor that you are using and WPML. Can you also please try the duplication method then and see if by doing things that way, the styling carries over to the secondary language, too? Here is how you can do that: 1. Create a full backup of the site Related documentation: Please let me know if that fixed your issue. Kind regards, |
August 28, 2020 at 7:18 am #6891713 | |
driesD-5 |
I haven't had the time to follow all your steps. |
August 28, 2020 at 6:09 pm #6896015 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there and welcome back. Can you please give me some exact examples (for example create a test page with some blocks that have a custom layout and you don't see it carried over onto the translation) so that I can test with that? I will be waiting for your response. PS: Just a note that I won't be working on the weekend so I will be able available starting Monday next week. Kind regards, |
August 31, 2020 at 7:51 am #6904281 | |
driesD-5 |
Hi Thank you for your help. This is the preview page. All the pages I made before installation of WPML contain the desired style when published. |
August 31, 2020 at 9:36 am #6905307 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I will be taking over this ticket. Thanks for sharing the new test page, I can see the issue and CSS files are not being loaded correctly on the frontend as stated in browser console error messages. Can you please follow the next steps: Please make a backup before proceeding. 1) You are using a very old Elementor version. Please update Elementor PRO to the latest versions. Update WPML plugins to the latest versions. 2) Disable all other plugins, leave active only WPML and Elementor Pro. Switch to the WP default theme and check if the issue still happens with new test page. 3) Disable WPML plugins and check if the issue still happens without WPML plugins. I would do it myself but I can not do it safely without FTP credentials, so in order to speed up this process if you could follow the steps above and let me know how it goes. Depending on the results I will provide a sandbox site to test the issue or migrate a copy of your site to our servers for further testing, in a more safe way. Thanks, |
September 1, 2020 at 7:48 am #6912809 | |
driesD-5 |
Hi Drazen, |
September 1, 2020 at 8:44 am #6913307 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Please check my private reply above and follow steps to migrate a copy of your website. I have enabled the private field for your next reply. Thank you, |
September 1, 2020 at 1:31 pm #6916311 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thank you. I have checked the issue and the website, and as you mentioned issue is happening also when almost all plugins disabled. Style visible in elementor, but not published. The issue is happening when all plugins disabled and active only Elementor PRO on the WP default theme. The issue is happening also when WPML disabled, meaning it is not caused by WPML. I went a bit out of the scope and checked what might be causing the issue, I think you recently might migrate the site to a new domain but path to CSS for your templates stayed the same (Error showing different domain path), and it is not loading correctly. The similar case reported here: - https://wordpress.org/support/topic/elementor-generated-css-fails-to-load-after-migration-or-clone/ In your debug log you get an warrning like this: Warning: file_put_contents(https://cdn.wpml.org/home/deb91196n3/domains/customisedspirit.com/public_html/wp-content/uploads/elementor/css/post-1763.css): failed to open stream: No such file or directory in /mnt/BLOCKSTORAGE/home/214261.cloudwaysapps.com/hyemmardnx/public_html/wp-content/plugins/elementor/core/files/base.php on line 180 At this stage, I would recommend contacting Elementor Pro support and sharing all of the information gathered for now, I am sure they will be helpful. Please let me know how it goes and don't hesitate to ask if you find any problem along the way or have doubts or questions about the steps mentioned above, I'll do my best to help you in the best way possible. Regards, |