2

I'm not so familiar with Laravel nova and need some help please. Is there a way to add css classes to Laravel nova fields? I saw somewhere on the web that you could do this: Text::make('Name')->hideFromIndex()->sortable()->rules('required')->withMeta(['class' => 'bg-dark']),

but did not work.

Would appreciate any assistance.

1 Answer 1

0

You could work with a custom theme? Add properties to your specific inputs if the styling is input specific and style them with your custom css in your theme?

https://nova.laravel.com/docs/3.0/customization/themes.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.