Awaiting an answer General

How to Remove Forgot Username and Password from Login

Asked by Michael 4 years ago Last activity 4 years ago

8 replies

Rashida Rahman Staff

Hi there!

Thanks for your query.

Would you please give us a screencast showing the whole issue you are facing to follow the instruction of the blog post?

Kindly share your site URL too. You may achieve this with custom CSS either!

Best Regards

Rashida Rahman Staff

Hi,

Thanks for the site link.

You may use the following code snippet within your custom CSS either:

.login .list-group {
    display: none;
}

Note: Path towards custom CSS(Joomla 3): Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Best Regards

John Celano

Nope. Doesn't work at all. At least not for Joomla 4 that is. The override system seems to be broken.. It's not following standard Joomla practice.

Paul Frankowski Senior Staff

If I may...

CSS that @Rashida helped, please check again with Incognito mode or from 2nd browser. Evidence

foto_8528_2022.png

John Celano
4 years ago · edited

This has nothing to do with browser extensions. So incognito is not going to help. CSS is the correct approach, but
the recomended css ".login .list-group {display: none;" does not execute in custom.css.
Another similar solution on this forum did solve the problem with not only the "forgot username and password" lines. It also took care of the 2 bullets (unorderd list elements) that appear before these lines.
The correct CSS to place in a custom.css is: #login-form ul.unstyled {display: none !important;}
This targets entire <div> with the "#login-form" id selector as well as the 2 unorded list elements. By marking it with "!important" it guarantess that the custom css will take priority over any other css.
My usecase is for Joomla 4, PageBuilder Pro, Helix3

Paul Frankowski Senior Staff

I see that

foto_8529_2022.png

it means that works. Your Custom CSS may work as well. I think it ends topic.

John Celano

Sure. let's close it up.

Log in to reply.