• Resolved Steph

    (@stephrookie)


    Hi

    I have just installed the plugin, and I am really amazed! This works very well and is so easy to make the page look awesome!

    One issue though is, that I now have a language switcher on the log in page. This was not there boefore, and I really don’t need it. It simply offers to switch between English (UK) and English (US).

    I have found a similar post here, with a custom CSS code that should place this in a better position

    body .ml-form-container{flex-flow:column}

    It seems to not change anything in my case even after clearing cache (I am using the default 2024 wordpress theme). That said, I would actually rather prefer for it to not be there at all!

    I have no idea what I am doing, and only based on some googling, i have tried

    #language-switcher {
    display: none;
    }

    And

    #language-switcher-locales {
    display: none;
    }

    I have also tried replacing the # with . or just removing them. None seems to hide it.

    Any tips, or suggestions for me to hide this?

    • This topic was modified 5 months, 1 week ago by Steph.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Steph

    (@stephrookie)

    Ok – this wored for me!
    To hide the language switcher, go to the Colorlib Login Customizer page (the page with all the cool settings for changing the way that the log in page looks.

    Here, find the Custom CSS area. This is the last option.

    Here add the following code, to hide the language switcher. I have no idea if this is a wrong or dirty way of doing this, but it worked for me

    language-switcher {
    display: none;
    }

    • This reply was modified 5 months, 1 week ago by Steph. Reason: I figured it out!

    Hey, @stephrookie!

    I have come across a better way (or the “correct” way according to WordPress) of hiding this.

    Add the following code to your (ideally child theme) functions.php:

    add_filter( 'login_display_language_dropdown', '__return_false' );

    Or if you use a snippet plugin like me (WPCode) they include a filter to add this. Add New > Disable Login Screen Language Switcher > Toggle to “Active” > Save

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.