Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

The client was experiencing issues with broken CSS on their multilingual site pages using the Bricks theme. The CSS conflicts occurred because the Bricks theme custom fields were set as 'Don't translate', preventing styles and alignment preferences from being copied to secondary language pages.

Solution:

We resolved the issue by adjusting the WPML settings to ensure that the Bricks theme custom fields are copied to translations:

1) Navigate to WPML>>Settings>>Custom Fields Translation.
2) Click on the Show system fields link.
3) Search for 'bricks' fields.
4) Select the Copy option for these fields and save the changes.
5) Open the Contact page for editing in Romanian and update the page.
6) Update the English translation of the Contact page.
7) Repeat steps 5 and 6 for the Order page.

We recommend clearing your site's caches after these changes.

If the issue persists or if this solution becomes outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket at WPML support forum for further assistance.

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by mirceaD 2 days, 5 hours ago.

Assisted by: Bigul.

Author Posts
April 8, 2025 at 2:35 pm #16910062

mirceaD

Look at this page: hidden link

Or this page: hidden link

How can I get them to display properly and not have broken CSS?

April 8, 2025 at 2:46 pm #16910077

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you resolve the issue.

I can reproduce the issue on your site. And the English Contact page is working as expected when I add a few of the missing CSS in WPML>>Languages>>Language switcher options>>Additional CSS. Refer to the attached images for more details.

We will debug it further with the main ticket and get back to you soon. Please wait.

--
Thanks!

Bigul

2025-04-08_20h14_54.png
2025-04-08_20h14_04.png
April 9, 2025 at 2:26 pm #16914337

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

It looks like the CSS conflict is happening because the Bricks theme custom fields were set as *Don't translate*. So, the styles and alignment preferences were not copied to the secondary language pages.

I am getting the expected results on your site after the following steps. Refer to the attached images for more details.

1) Visit WPML>>Settings>>Custom Fields Translation
2) Click on *Show system fields* link
3) Search for *bricks* fields
4) Choose the *Copy* option for it and save the changes
5) Open the Contact page for editing in Romanian
6) Update page (just resave)
7) Update the English translation

Then, I followed the same steps (5 to 7) for the Order page. We have to do the same steps for all the pages because the custom fields' details are stored individually for each page/post (for the original and its translation).

Please check it now after clearing the caches and let us know your feedback.

hidden link

hidden link

--
Thanks!

Bigul

2025-04-09_19h38_34.png
2025-04-09_19h36_46.png
2025-04-09_19h18_39.png
April 11, 2025 at 10:57 am #16922276

mirceaD

It seems to be fixed now, I tried adding the translation to another page and the css is correct.

Thank you, please see my update about the header and footer