Skip Navigation

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 reply, has 2 voices.

Last updated by Mateus Getulio 1 month ago.

Assigned support staff: Mateus Getulio.

Author Posts
January 20, 2021 at 8:26 am #7884417

nereaA

Hi,

We are having trouble with WPML translations with the Avada theme.

It seems that the translations are not detecting the custom CSS that we have included in the Avada options, so we visualize the translated pages wrong.
Example: hidden link

We have also tried to put the CSS in the "additional CSS" of the WP itself and it does not work either.

Could you check what is happening and tell us how to make WPML detect CSS correctly in translations?

We are urged to fix it soon, as we have a major audit today.

Regards.

January 20, 2021 at 7:01 pm #7891209

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Can you please go to the Avada theme settings, switch to the secondary language in the admin top bar and check if the custom css configuration is present in there? If not, can you please add it to the secondary language as well and check if that's going to fix the issue?

If it still doesn't work, please, follow the steps below:

- Go to WPML > Settings > Custom XML Configuration
- Insert these lines:

<wpml-config>
    <custom-fields>
        <custom-field action="copy">_fusion_builder_custom_css</custom-field>
    </custom-fields>
</wpml-config>

- Click on the Save button
- Go to the pages screen and edit the homepage using the WordPress editor
- Make some minor change and save the page(add an extra space to the title or content, etc)
- Edit it again and remove the change you made
- Edit the homepage translation using the WPML translation editor
- Click on the Save button (just make sure that the translation progress bar is at 100%)

After that, please check if the issue is fixed.

If none of those helps, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.