Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing a layout issue on their website, specifically a large space on the right side in the Arabic interface and a non-functioning MetaSlider. The issue persists across multiple browsers and devices.
Solution:
We recommended checking the device and browser used to ensure the issue is consistent across different platforms. We identified that the MetaSlider was causing the layout issue. We suggested reaching out to the theme author for a permanent fix. Meanwhile, we provided a temporary solution using custom CSS to address the MetaSlider issue. The client should add the following CSS to their site:

.metaslider .flex-control-paging li a {    text-indent: 0px!important;}

This code aims to correct the text indentation affecting the MetaSlider on tablet devices.

If this solution does not resolve the issue or seems outdated, we recommend opening a new support ticket. It's also advisable to check for related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and ensure that the latest versions of themes and plugins are installed. For further assistance, please visit our support forum.

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.

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by Kor 11 months, 1 week ago.

Assisted by: Kor.

Author Posts
July 8, 2024 at 4:56 pm #15914728

miraN-2

Background of the issue:
I am trying to fix a layout issue on my website hidden link using WPML.

Here is the video about problem.
hidden link
And ı attached a ss may it helps to find the source of issue

Symptoms:
There is a large space on the right side in the Arabic interface.

Questions:
How can I remove the large space on the right side in the Arabic interface?

July 8, 2024 at 5:51 pm #15914964

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for reaching us. I've checked with a MAC Laptop on Chrome browser and I'm not seeing the issue when I checked hidden link

May I know what device/OS/browser are you testing with?

July 8, 2024 at 6:27 pm #15915112

miraN-2

It was Safari, but ı see same problem on chrome too

hidden link

July 8, 2024 at 6:32 pm #15915203

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Are you on a tablet/mobile or laptop?

July 8, 2024 at 6:34 pm #15915205

miraN-2

I m on iPad
Thank you

July 8, 2024 at 6:36 pm #15915209

miraN-2

Regarding this problem, while the tablet also has this problem, the product slider has the same problem on mobile.

July 8, 2024 at 6:42 pm #15915225

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

It appears that MetaSlider is causing the issue. Please reach out to the theme author to report this issue. If you don't receive a response, you can attempt to resolve it using the following custom CSS code. Go to WP > Appearance > Customize > Additional CSS and paste the code there.

.flex-control-paging li a {
    text-indent: 0px!important;   
}

DISCLAIMER: Please know that any snippet or code suggested here is for educational purposes only. they are not meant to be the final solution but instead meant to point you in the right direction and are out of the scope of our support so we can't nor will modify, improve, debug or maintain it.

July 8, 2024 at 6:56 pm #15915267

miraN-2

I added the code as you said, but it didn't work, it affected other areas. I installed this plugin yesterday and they said it could work with wpml without any problems.

hidden link

July 8, 2024 at 7:06 pm #15915381

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to me.

If you look into the Website contents, WPML effectively manages to translate the contents without any issues. However, the layout issues you're facing seem to originate from the theme. I suggest contacting your theme author for assistance.

I'm just volunteering to help since I think this can be fixed using some custom CSS code. Please try the code below as it should only target the MetaSlider from the theme, then, check and see if it resolves the issue. If it doesn't, consider contacting the theme author, who should be able to provide further assistance.

.metaslider .flex-control-paging li a {
    text-indent: 0px!important;   
}

DISCLAIMER: Please know that any snippet or code suggested here is for educational purposes only. they are not meant to be the final solution but instead meant to point you in the right direction and are out of the scope of our support so we can't nor will modify, improve, debug or maintain it.

July 8, 2024 at 7:16 pm #15915399

miraN-2

I appreciate your volunteering to help. Thank you so much. Theme authors no longer offer support. This code you gave is much more useful, the remaining problems of the site have been solved and the product slider works on mobile too. Only metaslider is not working, it is not moving at the moment. The only problem is that Metaslider does not work in the Arabic interface.
hidden link

July 8, 2024 at 7:55 pm #15915532

miraN-2

hidden link
Could it be related to string translation? Can we solve the problem from here?

July 9, 2024 at 7:45 am #15918642

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I see that the theme is regularly updated on its ThemeForest page, and you have the latest version. Considering you lack theme support for assistance, I recommend replacing Metaslider with another third-party slider plugin.

The issue isn't related to String Translation. It's caused by the "text-indent: -9999px;" which is affecting the Metaslider on iPad or tablet devices. I've provided the custom CSS code to address this earlier.

July 10, 2024 at 1:48 pm #15928399

miraN-2

Thank you so much for helping