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

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',
]);
}
public function registerAction(): Action
{
return Action::make('test')->extraAttributes([
'class' => 'hidden',
]);
}
Solution:
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;...
Jump to solution
1 Reply
Solution
Edward van Tonder
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;
}
.fi-simple-header-subheading {
display: none;
}

Did you find this page helpful?