Skip Navigation

[Resolved] Views losing styling on pages translated with Translatepress

This support ticket is created 2 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 3 voices.

Last updated by markusD 2 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#2536431

Tell us what you are trying to do?

I have a site that contains different views on several pages (eg News on the home page, Projects on the Projects page, and Albums on the Discography page).

I have added translation using the plugin Translatepress. While the translation seems to work, the styling only looks correct on the original german version of the site. When choosing a different language other than German, the styling is lost (eg the 3 column grid turns into a single column, etc).

I can tell that some styles are only present on the original language version page, eg
.wpv-view-output[data-toolset-views-view-editor="e555449cf44553ec9568ea137bb8e919"] .js-wpv-loop-wrapper > .tb-grid {...}

How can I make sure the views look the same in all language versions of the site?

What is the link to your site?
hidden link

#2536833

Hello,

Can you try WPML plugin to translate your website?
https://wpml.org/
It is full compatible with Toolset plugins, see our document:
https://toolset.com/course-lesson/translating-the-content/

#2536915

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi there

Can I jump in here to say that I did some basic testing locally, and the View blocks seem to work fine on pages translated with TranslatePress, not only the colours etc but also the 3-column grid.

That is with adding a View block to a page directly, and then translating the page.

Are you doing something different?

#2538975

I switched to WPML and it worked. My issue is resolved now. Thank you!