Support the ongoing development of →
posted 1 year ago
Last updated 5 months ago.
moderator Solution


you could update your base css file to include custom styling for your content lists.

To do that you could for example add a custom css class to your prepared body div like this:

                <div class="mb-5 prepared-body">
                    {!! $article->prepared_body !!}

Then add a custom directive to your resources/css/app.css file like this:

.prepared-body ul {
    margin: 0.5rem 0rem;
    list-style-type: disc;

Afterwards rebuild your app.css file using laravel mix (if that's what is used) and you're good to go.

Solution selected by @mbeachmountain

Thanks @tomhatzer for your solution. Also gave me some better understanding of how it works. Thanks


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Marco mbeachmountain Joined 15 Sep 2021


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.