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 3 replies, has 2 voices.
Last updated by Bobby 1 year, 9 months ago.
Assisted by: Bobby.
Author | Posts |
---|---|
July 14, 2023 at 5:51 pm #14041139 | |
reljensonD |
I'm trying to translate my whole website in French. I don't know what happened, it looks like some of the CSS and layout are changing once I switch to French. For example, the sub menu for jewelry is full width in English but in French it's NOT. Another example, the "#POLLUXJEWELRY" at the bottom of the homepage has small font-size in the French page... How do I translate the site without affecting the CSS, layout, structure, etc? My website is: polluxjewelry.com |
July 14, 2023 at 7:17 pm #14041301 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hello, This can sometimes happen when the layout settings have not been copied to the translation, to resolve I will first need to understand how the CSS/layout is created. - Are you adding any custom CSS to the styling of the page? - When creating the homepage are there styling options within it that originate from the theme possibly? |
July 14, 2023 at 9:38 pm #14041527 | |
reljensonD |
I am using YellowPencil Editor for custom CSS. How do I copy the missing layout settings to the translator? |
July 17, 2023 at 7:29 pm #14053215 | |
Bobby WPML Supporter since 04/2015
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
In that case we can first see if we can set the CSS to 'copy' and if that is not possible we can manually do it. #1 - Go to WPML->Settings->Custom Fields Translation -> check the box "Show "Multilingual Content Setup" meta box on post edit screen." and save - Go to the page with the custom CSS and edit in the default language - Scroll to the bottom and view the Multilingual Content Setup area -> examine the fields for the CSS field - Set it to 'copy' and save then update the page Now check the front end and it should work OK. IF you are not sure which field is correct, take a screenshot and share it with me to review the fields. Names are usually unique. #2 If the above does not work try this: - Edit the page in the default language -> copy the custom CSS - Use the language switcher in the top header (make sure to exit full screen if using Guttenberg) -> switch to the translation language and dismiss the warning - Manually paste the custom CSS and update Let me know your results, please. |
July 21, 2023 at 3:31 pm #14081069 | |
reljensonD |
The 1st step worked. Thank you! |