Tell us what you are trying to do?
- The header / footer templates are translated with WPML, after some days the CSS is broken (attachment), and the solution is to save the translation for the templates again. The issue is recurring, but I don't now how to reproduce it.
Is there any documentation that you are following?
Is there a similar example that we can see?
- at this time no, I have saved the Header Template (from Translations Queue) and everything looks ok.
What is the link to your site? hidden link - main hidden link - translated
I've changed the caching settings, and disable all minimizing, but after a few days the problem is back. Strangely only the header/footer seems affected, please take a look: hidden link and hidden link for English version.
I've checked your website and on my end, everything seems to work correctly.
1) Can you please check if there is any cache mechanism on the server-side, that might affect it as well?
2) Can you tell me if there is any kind of pattern when the issue happens (like a specific time/date, or after x amount of days)?
---
It might not be related to the issue, but according to your debug.info, the WP memory limit needs to be increased, WordPress uses 40Mb as default and the minimum requirements for WPML are 128 MB. (Kindly check this page: https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */
The strange thing is, even without css optimization the header / footer scrambled after a few days, not really sure about the interval.
If I empty cache (Powered Cache) nothing change. The only way to correct the header / footer is to edit & re-save the template form Translation Queue. If I edit-save header the footer will be displayed correctly too.
For now, I have update wpml settings to user /en folder for English instead of different domain.
If the issue persists with the new configuration of the languages in your site, I would suggest testing in a minimal setup:
- keep the theme you have
- activate only WPML plugins and must-use plugins
- deactivate all the other plugins
After, check if the issue persists.
* It might be best to try having the minimal setup in a staging site.
Let me know how it goes,
Marsel
The topic ‘[Closed] Header / Footer in Elementor Templates gets css broken after some time.’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.