Custom CSS code to remove language options in Simple Layout | Experience Community
Skip to main content
Solved

Custom CSS code to remove language options in Simple Layout

  • Nov 17, 2023 8:47 AM UTC
  • 4 replies
  • 340 views

Forum|alt.badge.img+1

Good morning,

 

I am trying to remove the language dropdown box on one of my surveys.  The CSS code that used to work for this with the classic layout does not work under the simple layout.  

Would anyone know how to get this to work under the simple layout?  

Thanks in advance!

Best answer by Shashi

Use below CSS in simple layout to remove language dropdown:

#language-selector-structure{
display:none;
}

 

View original

4 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • Answer
  • Nov 19, 2023 6:15 AM UTC

Use below CSS in simple layout to remove language dropdown:

#language-selector-structure{
display:none;
}

 


Forum|alt.badge.img+1
  • Author
  • Nov 20, 2023 9:49 AM UTC

@Shashi 

 

That worked.  Thanks a million!


Forum|alt.badge.img+1
  • Level 1 ●
  • Aug 23, 2024 10:50 PM UTC

I could not get this fix to work. I just added the text you provided to the Custom CSS box. Should it go elsewhere? @Shashi Many thanks if you can help!

 


Forum|alt.badge.img+1
  • Level 1 ●
  • Aug 23, 2024 10:56 PM UTC

Nevermind! I inspected it and the title was changed, I guess. This worked:

#language-selector-container{
display:none;
}