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

Last updated by reneB-27 3 years, 11 months ago.

Assisted by: Diego Pereira.

Author Posts
May 3, 2021 at 11:53 am #8675743

reneB-27

I know this also has been brought up before, and i have tried to follow the advice and guidelines from my search result, but nothing helped.
My problem is that the translated versions of my pages, shows the page title, even though the 'Hide page title' is checked (in the original language.)

Here is what i have tried as pr. recommendation from supporters in my search:
- Convert the page from 'standard template' to 'Full width'
- Added the additional CSS with the correct langauge in the parantheses. (en), (de), (fr)

None of those things worked.

Can you help me figure out what to do, to remove this annoyting page title?

May 3, 2021 at 1:07 pm #8676599

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello, welcome to the WPML support Forum!

Could you please send us the link of a page with the issue? If you just want to hide the title, I think we can do that using CSS, but we need to adapt the code to your website.

May 3, 2021 at 1:07 pm #8676601

reneB-27

hidden link

May 3, 2021 at 1:09 pm #8676607

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thanks!

Which element exactly do you need to hide? Could you end us a screenshot?

May 3, 2021 at 1:12 pm #8676663

reneB-27

Here u go.

PageTitle.jpg
May 3, 2021 at 2:11 pm #8677103

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

This CSS snippet should fix the issue for FR and DE languages:

html[lang="fr-FR"] body.home .page-title {
display: none;
}

html[lang="de-DE"] body.home .page-title {
display: none;
}

In case you want to hide it for homepage in all languages:

html[lang="fr-FR"] body.home .page-title {
display: none;
}

body.home .page-title {
display: none;
}

You can add the custom CSS to Appearance > Customize > Additional CSS.

Please let us know if it worked for you.

Kind regards,
Diego

May 3, 2021 at 2:21 pm #8677227

reneB-27

Ok. Thanks. But sorry. Tried both variations and the page title is still showing when entering each language, besides DK.
hidden link

May 3, 2021 at 2:44 pm #8677435

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

It's working correctly for me. Please check this video: hidden link

Could you please clear all caches and check again on a incognito window?

May 4, 2021 at 10:49 am #8683289

reneB-27

I think you have misunderstood what i ment. It has nothing to do with the flags and the translations as such. It is a matter of 'hiding the page title.' When clicking on a different language than the original, a big white square with the page title appears in the upper left corner just above the hero section, containing the page title. And that is extremely annoying and very ugly.

But i managed to find a solution.

And for others who might look for help, here is the solution:
You will need to go into each language by — in the control panel: choosing the language at the top middle of the dashboard, and then enter the page section where only the translated version is shown. Then enter each page one by one and go down and tick off the 'Hide page title.'
Very time consuming and stupid. But ... that's how it is appearently.

+ for some reason this is not working in some languages on the frontpage!!!?!
So HERE you will have to use the additional CSS / HTML code!! Strange!!

Anyway. Ready to move on now.

May 4, 2021 at 12:40 pm #8684937

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Yes, the video was to show that the page title was not displaying anymore, in any language.

Anyway, I'm happy that you solved the issue 🙂 If you need more help, please let us know.

Kind regards,
Diego