This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was unable to translate the header button text and footer text on their website using WPML due to the Aoriv theme not being officially compatible with WPML.
Solution:
We provided a CSS workaround to address the translation issue. The client should insert the following CSS in Appearance -> Customize -> Additional CSS:
html[lang="zh-hans"] p.text-center {
font-size: 0; /* hide original text */
}
html[lang="zh-hans"] p.text-center::after {
content: "© 2025 FX 科技私人有限公司。保留所有权利。";
font-size: 16px; /* restore visible size */
}
html[lang="zh-hans"] a.default-btn {
font-size: 0; /* hide original text */
}
html[lang="zh-hans"] a.default-btn::after {
content: "注册"; /* Chinese for REGISTER */
font-size: 16px; /* restore visible size */
}
This solution might be irrelevant due to updates or different circumstances. If this does not resolve your issue, please check related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the problem persists. For further assistance, please visit our support forum.
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 1 replies, has 0 voices.
Last updated by 1 month, 1 week ago.
Assisted by: Itamar.

