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

Last updated by ToBulk 9 months, 2 weeks ago.

Assisted by: Osama Mersal.

Author Posts
July 15, 2023 at 9:36 am #14042197

ToBulk

Hello,

I have a very strange problem that I cannot solve on my own.

In all blog posts, everything is as it should be in English (the main language).

In the two translations (Spanish and German) the layout shifts a few pixels to the right.

See the pictures.

What is the cause here?

Best regards

Torsten

Spain.jpg
German.jpg
English.jpg
July 16, 2023 at 10:12 am #14043989

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Torsten,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please let me know if you use a custom template for blog posts. Also, please check if the CSS is the same in all languages.

Best regards,
Osama

July 16, 2023 at 10:16 am #14043997

ToBulk

Hi Osama,

thank you for your answer.

The css of the theme and also the custom css is the same for all languages.

Also the template for the post formats.

But it seems that WPML is ignoring something.

Best regards

Torsten

July 16, 2023 at 10:44 am #14044099

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Torsten,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,

July 16, 2023 at 11:20 am #14044197

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please check the access details because I got the following error. (Error: The username **** is not registered on this site. If you are unsure of your username, try your email address instead.)

Best regards,

July 16, 2023 at 11:23 am #14044199

ToBulk

Sorry, a misspelling

July 16, 2023 at 11:41 am #14044221

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. I checked the issue and found a margin-left added to the translated posts, and it's not added to the default language. (Kindly check this hidden link)

Please remove this margin from your custom CSS and check the issue.

Best regards,
Osama

July 16, 2023 at 3:11 pm #14045161

ToBulk

Hello Osama,

thank you for your look and your observation.

So it's not the fault of wpml.

I have already corrected this.

Thank you for your support.

Best regards

Torsten

July 16, 2023 at 3:13 pm #14045165

ToBulk

I am always happy that I have chosen wpml.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.