Home›Support›English Support›[Resolved] Layout of translated Toolset WordPress Archive different from original language
[Resolved] Layout of translated Toolset WordPress Archive different from original language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client created a WordPress Archive using Toolset and translated various elements using WPML. However, the page layout appears different between the English and German versions, despite identical settings in Astra for both languages. Solution: We recommended the client to clear all caches, especially the CSS cache managed by WP Rocket, to ensure that all styles load correctly. This approach helped align the layouts in both languages.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please visit our known issues page, verify the version of the permanent fix, and ensure you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the problem persists.
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.
I proceeded to translate
- all the strings using [wpml-string]
- the related taxonomy City using WPML > Taxonomy Translation.
- the slug using WPML > String Translation.
In English, the layout is as expected, (hidden link) but in German (hidden link), everything shows translated correctly, but the page layout is different/changed. What can be the reason for this?!
I checked the Astra settings > Customise > Custom Post Type > Billboards > Archive Billboards (starting with the WPML flag in English), verified all the settings were as I wanted them and clicked Publish.
I repeated the same steps starting with the flag in German, (Astra settings > Customise > Custom Post Type > Plakate > Archive Plakate) and confirmed the settings were identical.
1) I cannot see where the German version is picking up its different layout from or why it would be different from the English version. (en is our default primary language, de is translated secondary language)
2) When I go to WPML > Translation Management and filter on WordPress Archives, the list is also empty, I would expect to see some items there.
Thank you for contacting us and I'd be happy to assist.
Looking into the source code of both pages, I've noticed that some CSS styles (specifically the styles needed for the column classes e.g. 'col-md-4') are not getting loaded for the English version of the page.
Have you tried checking the page after clearing all involved caches? It would be a good idea to also test this with all code optimization plugins temporarily disabled.
Thanks for the tip about the CSS, when I cleared the Used CSS by WP Rocket Cache, both layouts ended up like the "wrong" German one, which led me back to the structure of the content in Loop Editor. I managed to rearrange it there correctly in the Bootstrap containers...
Any ideas on my question 2? When I go to WPML > Translation Management and filter on WordPress Archives, the list is also empty, I would expect to see some items there.
Thanks and best regards
Simon
New threads created by Waqar Ali and linked to this one are listed below:
One other tiny point: do you know offhand why I have this WPML symbol/menu in my admin bar? It is always empty when I hover over it, and the menu contains no items. I would like to get rid of it if it doesn't hold anything useful.
Thanks and kind regards
Simon
New threads created by Waqar Ali and linked to this one are listed below:
FYI: you might wanna raise this with your devs for the WPML site, when closing a ticket, it is no longer possible to choose an option from the "How your issue was resolved"?
Kind regards
Simon
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.