Background of the issue:
I am trying to have a different header depending on the page using WPML and Elementor. The issue can be seen on this page: hidden link. I expected to see the correct header on the translated terms-and-conditions pages, similar to how it works on the English page: hidden link. I need this to work for other languages as well, such as hidden link. Here is a video demonstrating the issue: hidden link.
Symptoms:
The wrong header appears on the translated terms-and-conditions pages.
Questions:
Why is the wrong header appearing on the translated terms-and-conditions pages?
How can I ensure the correct header is displayed for each language?