This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with mismatched fonts for buttons in Simplified Chinese on your website, it might be due to the theme or plugins using different fonts for specific elements.
Solution:
We recommend applying custom CSS to ensure consistency across different languages. For instance, to set a specific font for Simplified Chinese, you can add the following CSS code in your website's backend under Appearance > Customizer > Custom CSS:
html[lang="zh-hans"] .et_pb_button {<br /> font-family: 'Nunito', sans-serif !important;<br />}
This code targets the buttons and applies the 'Nunito' font family specifically for the Simplified Chinese language version of your site. Adjust the font family as needed to match your design requirements.
Please note that while we strive to provide helpful examples, these solutions might become outdated or may not directly apply to your specific situation. If this solution does not resolve your issue, or if you encounter different problems, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please do not hesitate to open a new support ticket at WPML 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 4 replies, has 2 voices.
Last updated by 10 months ago.
Assisted by: Mihai Apetrei.