How to hide in Login Form: Forgotten username and Forgotten password - Forum | JoomShaper
Staff replied Templates

How to hide in Login Form: Forgotten username and Forgotten password

Asked by Edze de Boer 5 years ago Last activity 5 years ago

Hi guys,

I am using free Helix Ultimate template.

For website chanelartcollection.com on the Contact page I would like to hide in the Login Form the Fields "Forgotten username" and "Forgotten password".

I have read several solutions, all of them several years old and not functioning.

How can I hide those questions in the login module?

Kind regards,
Edze de Boer

7 replies

Ofi Khan Staff

Hello Edze de Boer

Please follow the easy method. Use this CSS to Template Options -> Custom Code -> Custom CSS

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

Best regards

Edze de Boer Asked this

Hi Ofi Khan,

I am sorry to tell you, it is not functioning.
Maybe there should be a space between ...group and { , like so:
.login .list-group {

But it makes no difference at all.

Kind regards,
Edze de Boer

Paul Frankowski Senior Staff

I guess, Ofi thought about component view - not module.

For Login module you have to use:

#login-form ul.unstyled  li:nth-child(2),
#login-form ul.unstyled  li:nth-child(3) 
{display: none !important;}

Becuase 1st element is Register account.

Edze de Boer Asked this
5 years ago · edited

Hi Paul,

Almost there!
Now I see this in the login module:

/ *
Forgot your username?

  • /

Kind regards,
Edze

Paul Frankowski Senior Staff

You forgot to tell us that you use login module inside SPPB.

In that case:
Add custom CSS inside custom.css file, not inside addon.

#login-form ul.unstyled {display: none !important;}

Edze de Boer Asked this

Hi Paul,

Very nice solution, thank you!

Kind regards,
Edze de Boer

Paul Frankowski Senior Staff

You're welcome.

Have a nice day.

Log in to reply.