*

pietkei

  • ***
  • 69 posts
How to remove language selector
« on: March 04, 2021, 11:34:08 AM »
Hello,

I want to remove the language selector, i only use one language, there is no need for the language selector.

I have checked the css file but i can't find it (around line 920-923)
And if it's there i don't know how to edit that line.

Can someone help me?


Marked as best answer by pietkei on March 04, 2021, 12:20:54 PM
*

MB Themes

Re: How to remove language selector
« Reply #1 on: March 04, 2021, 12:06:03 PM »
@pietkei
Use chrome/firefox inspect tools.

This should work:
Code: [Select]
.post-edit .locale-links {display:none!Important;}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

pietkei

  • ***
  • 69 posts
Re: How to remove language selector
« Reply #2 on: March 04, 2021, 12:21:15 PM »
@pietkei
Use chrome/firefox inspect tools.

This should work:
Code: [Select]
.post-edit .locale-links {display:none!Important;}

Thanks, it works!

*

Marius

  • ***
  • 89 posts
Re: How to remove language selector
« Reply #3 on: July 30, 2021, 10:49:20 PM »
sorry to ask but in what file did you modify?

*

pietkei

  • ***
  • 69 posts
Re: How to remove language selector
« Reply #4 on: July 30, 2021, 11:42:31 PM »
sorry to ask but in what file did you modify?

Add:
Code: [Select]
.post-edit .locale-links {display:none!Important;}
Here:
oc-content/themes/gamma/css/style.css
Just under:
/* PUBLISH - EDIT */

Pieter
« Last Edit: July 30, 2021, 11:49:57 PM by pietkei »

*

Marius

  • ***
  • 89 posts
Re: How to remove language selector
« Reply #5 on: July 30, 2021, 11:48:48 PM »
which one of them?

*

pietkei

  • ***
  • 69 posts
Re: How to remove language selector
« Reply #6 on: July 30, 2021, 11:52:21 PM »
which one of them?

Just under:
/* PUBLISH - EDIT */

*

Marius

  • ***
  • 89 posts
Re: How to remove language selector
« Reply #7 on: July 30, 2021, 11:53:00 PM »
thank you

a good day