Osclass Support Forums

Osclass theme support => Gamma Osclass Theme => Topic started by: pietkei on March 04, 2021, 11:34:08 AM

Title: How to remove language selector
Post by: pietkei 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?

Title: Re: How to remove language selector
Post by: MB Themes 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;}
Title: Re: How to remove language selector
Post by: pietkei 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!
Title: Re: How to remove language selector
Post by: Marius on July 30, 2021, 10:49:20 PM
sorry to ask but in what file did you modify?
Title: Re: How to remove language selector
Post by: pietkei 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
Title: Re: How to remove language selector
Post by: Marius on July 30, 2021, 11:48:48 PM
which one of them?
Title: Re: How to remove language selector
Post by: pietkei on July 30, 2021, 11:52:21 PM
which one of them?

Just under:
/* PUBLISH - EDIT */
Title: Re: How to remove language selector
Post by: Marius on July 30, 2021, 11:53:00 PM
thank you

a good day