Skip Navigation

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

Problem:
The client was trying to define a block widget per language and encountered an issue where the widget on the left was being pushed down by the Swedish widget above it. This was due to an empty container adding a margin from the theme.
Solution:
We recommended adding CSS code to hide the wrapper that was causing the alignment issue. The client should add the following CSS code to their site:

.footer-widget-1 > #block-2 {<br />    display: none;<br />}

If this solution does not apply or is outdated, or if you're still experiencing issues, we suggest checking the related known issues and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.

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

Last updated by Christopher Amirian 6 months, 3 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
May 8, 2024 at 9:46 am #15605244

kristoferS-2

I am trying to: Define a block widget per language

Link to a page where the issue can be seen: hidden link

I expected to see: The headlines in the footer widgets should be aligned

Instead, I got: The widget on the left gets pushed down by the Swedish widget above it. Note that it does not render completely, but the empty container still adds a margin from the theme.

May 8, 2024 at 5:00 pm #15607449

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

WPML can not remove the wrapper DIV from the theme.

A solution can be a CSS code which hides the wrapper. Please add the code below:

.footer-widget-1 > #block-2 {
    display: none;
}

Thanks.

May 9, 2024 at 11:33 am #15610167

kristoferS-2

OK thanks. I understand that this is out of control of WPML. Will check with the theme developer.