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.

Our next available supporter will start replying to tickets in about 11.80 hours from now. Thank you for your understanding.

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

Supporter timezone: Europe/Athens (GMT+03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Andreas 1 year, 8 months ago.

Assisted by: Andreas.

Author Posts
March 2, 2023 at 12:27 pm #13154791

tenzinJ

Hi, I have two small issues.

1. I tried to hide post title for one of the post with css.
.post-2468 .posttitle, .post-2469 .posttitle, .post-2470 .posttitle {
display: none!important;
}
And it work for PL version of the post: .post-2468 .posttitle
But it doesnt work for post in ENG and SWE version, their post id: .post-2469 .posttitle, .post-2470 .posttitle

2. The post is translated in 100% but quatations in EN version shows untranslated. Please see attached.

This is default post. Title is hidden with css.

hidden link

And this is EN. Title is still visible and quatations are not translated.
hidden link

Zrzut ekranu 2023-03-2 o 13.18.04.jpg
Zrzut ekranu 2023-03-2 o 13.11.51.jpg
March 2, 2023 at 4:27 pm #13157305

Andreas

Hello there

Thank you for contacting us. I am happy to help you.

First of all, I cannot see the EN language, it shows me a page not found, So I am not sure what is happening.

About the css you are mentioning, this is custom work that is out of the scope of this forum. However, I can give you some hints. As far as I can see you are hooking to the wrong class names. Classes names are dynamically created and it doesn't mean that you will have all of them, everywhere.

Now your code it is not working because on your page there are 2 elements with the same html. So I am not sure how you built your site.

for example, you can do something like this :

body.postid-2470 .elementor-page-title:first-of-type

About the quotes, may I ask you to do a minor update to the original content in quotes and try to update the translation

Share with me the results.

Regards,
Andreas

The topic ‘[Closed] Translation issues with custom css and editor’ is closed to new replies.