CMS Development

SBENALI9
Participant

language switcher icon

SOLVE

I want to change the background image of the language switcher icon here. If anyone knows how to do this and where I can find the 'language_switcher.css' file to modify the . globe_class , please let me know.

SBENALI9_0-1709129585817.png

 

0 Upvotes
1 Accepted solution
Anton
Solution
Thought Leader | Partner
Thought Leader | Partner

language switcher icon

SOLVE

Hi @SBENALI9

the language_switcher.css is part of the files that aren't accessible to public.

 

If you only want to change the icon you can change it with this class:

.globe_class:before {}

 (You might need to use !important)

 

Also - here are some more helpful language-switcher related classes:

.lang_list_class{} {# The language-switcher dropdown #}

.lang_list_class li{} {# Each language element inside the dropdown #}

.lang_list_class li a{} {# Each Link/Text element of the dropdown #}

 

Beside that you can also create either a custom module or global partial for the language switcher and put it directly into the base.html/layout.html. That's also possible

 

 

hope that helps, 

 

best, 

Anton

Anton Bujanowski Signature

View solution in original post

1 Reply 1
Anton
Solution
Thought Leader | Partner
Thought Leader | Partner

language switcher icon

SOLVE

Hi @SBENALI9

the language_switcher.css is part of the files that aren't accessible to public.

 

If you only want to change the icon you can change it with this class:

.globe_class:before {}

 (You might need to use !important)

 

Also - here are some more helpful language-switcher related classes:

.lang_list_class{} {# The language-switcher dropdown #}

.lang_list_class li{} {# Each language element inside the dropdown #}

.lang_list_class li a{} {# Each Link/Text element of the dropdown #}

 

Beside that you can also create either a custom module or global partial for the language switcher and put it directly into the base.html/layout.html. That's also possible

 

 

hope that helps, 

 

best, 

Anton

Anton Bujanowski Signature