How to easily center a label
How can i easily center a label?
Without centering it for the hole project, only for one Field in a Form Component? Is there a easy way to center a label? https://filamentphp.com/api/3.x/Filament/Forms/Components/Concerns/HasLabel.html
Solution:Jump to solution
Finally i just removed the label (by using ->label('') ) and added a Placeholder right above the field, with ->content() and added the Titel there. With HtmlString I could position the Title like I wanted
4 Replies
Does nobody know a solution?
Solution
Finally i just removed the label (by using ->label('') ) and added a Placeholder right above the field, with ->content() and added the Titel there. With HtmlString I could position the Title like I wanted
You could also do this:
You need to create a custom theme to change this via css..
@Leandro Ferreira Thanks, very good solution π