#Hide the "or sign up for an account/or sign in to your account" sections

3 messages · Page 1 of 1 (latest)

uncut lion
#

I'm trying to hide the "or sign up for an account / or sign in to your account" sections on the Login / Register pages. I've searched both the docs and Discord without finding any solutions.

I've tried using the provided registerAction() and loginAction() functions but these only allow you to manipulate the buttons themselves and not the "or" message part?

Am I missing something super obvious?

public function registerAction(): Action
{
  return Action::make('test')->extraAttributes([
    'class' => 'hidden',
  ]);
}
mystic pumiceBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

uncut lion
#

I ended up finding a solution to this by applying custom CSS to the hook class for that section.

.fi-simple-header-subheading {
    display: none;
}