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 Riffaz 1 month, 4 weeks ago.

Assigned support staff: Riffaz.

Author Posts
August 25, 2019 at 5:57 pm #4454917

tomasM-26

Hi Guys, I'm trying to hide footer in different language for different id-page. So for example I have footer in main page but in another subpage I hide this footer in Additional CSS very simple by code this :

.page-id-3610 .footer_bar {
display: none;
}

But this is only happened in English version of the website but when I need to hide this footer in different language for example italian langue is not working I tried this code :

html:lang(fr) .page-id-3610 .footer_bar {
display: none;
}

BUT NOTHING I Tried even this code :

html[lang=“it-IT”] .page-id-3610 .footer_bar {
display: none;
}

nothing as well. Guys please I need to fix this issue asap if there will be someone who will help me with the code I will really appreciate that. Thanks a lot 🙂

August 25, 2019 at 6:42 pm #4454971

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

Please use this code:

.page-id-3210 .footer_bar:lang(fr) {
 display: none;
}
.page-id-3210 .footer_bar:lang(it) {
 display: none;
}

Let me know how it goes.

Regards,
Riffaz.

August 25, 2019 at 7:21 pm #4454983

tomasM-26

Hi Riffaz I tried but nothing worked 🙁 I don't know what else I have to do to work that 🙁

August 26, 2019 at 7:24 am #4456361

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Let me know your site login details to check this closely.
The next reply is private.

Also, let me know the page url where you have to hide this.

Regards,

The topic ‘[Closed] Hidding footer in different page and different language’ is closed to new replies.