I want to remove the icon in the language dropdown. I just want the text. Is that possible? locale dropdown
I am supposing that you are using the theme-classic
.
STEP by STEP:
Terminal/Power Shell
at the root of your docusaurus.npm run swizzle @docusaurus/theme-classic IconLanguage -- --danger
.\src\theme\IconLanguage
index.js
: remove the tag path
inside the return statement — remove everything from <path
to />
REFERENCE
https://docusaurus.io/feature-requests/p/make-the-language-changer-icon-configurable