Skip to content Skip to sidebar

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 Itamar 1 month, 1 week ago.

Assisted by: Itamar.

Author Posts
September 25, 2025 at 11:25 am

morganZ

Background of the issue:
I am trying to translate the header button text and footer text on my website using WPML.

Symptoms:
I am unable to translate the header button text and footer text.

Questions:

September 25, 2025 at 12:40 pm #17432478

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

This ticket has been inactive for some time. I didn't get a reply from you. So, I've transformed this chat into a support ticket.

We were unable to resolve this issue using WPML's regular features. This is because the Aoriv theme is not officially compatible with WPML, and it is obviously a compatibility issue. However, I was able to assist you with a CSS workaround, which I inserted in Appearance -> Customize -> Additional CSS. Please see the attached screenshot. In there, I inserted the following 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 */
}

If you need to adjust the Chinese translation, please make the changes in Appearance -> Customize -> Additional CSS.

Please see that it is working on the frontend. Please see the attached screenshot.

Please be aware that we cannot guarantee the functionality of this CSS code and cannot promise that it will work in the future.

Please confirm that this issue is fixed now.

Regards,
Itamar.

2025-09-25_15-30-51.jpg
2025-09-25_15-37-33.jpg