Nechalon - Hello, is there any way to customize...
# ❓questions
n
Hello, is there any way to customize the permalink in terms of design? Like, color, background.
i
hi, do you mean the link below the title of a record on a Twill form? You can add custom css for that
n
Yes, how can I add that? And is it available for V2.3.0. as well?
i
it's available in any version. you can override the twill main or form layout blade (extend it, don't copy it) and use the "extra_css" blade stack
you can try pushing css into this stack from any of your forms
n
it looks like I already have the "extra_css" stack in the head.blade.php, I dont exactly understand, how would I add include/import css here?
i
Copy code
@push('extra_css')
<style>
   // CSS here
</style>
@endpush
I was only sharing that link to show you where the stack is (which is a feature from Laravel you can read about in the documentation)
try to add this to any of your form blade file
then, if you want to avoid duplicating in all your form files, I was suggesting to create your own form layout file
n
Copy code
@push('extra_css')
<style>
   
   .titleEditor__permalink > span {
        //
    }
</style>
@endpush
Okay, its working:D
2 Views