Section Heading-Background-Color
Hi - Is it possible to change the background-color of a section-heading? I already tried the
extraAttributes
-way to add the section-danger-class (like it was in V2), but to no avail.
ThanksSolution:Jump to solution
yeah custom theme
```PHP
Forms\Components\Section::make('Section')
->extraAttributes(['class' => 'nice'])...
6 Replies
Do you want to style the whole section or only the heading?
Using the
will style the whole section...
you could use the extraAttributes to add a specific class and create a selector in your theme.css to target the header
Thank you! Did you use the custom-theme for the heading there or something else?
Solution
yeah custom theme
Ah okay - Thank you! π