CMS Development

Marius
Participant | Platinum Partner
Participant | Platinum Partner

Remove indent in blog listing template

Hi, i want to remove the indent of blog content in blog listing template. I tried  indent(width=4, indentfirst=Falsebut it seem not work in my case:

 

<div class="post-list-item-content">
     {{ content.post_list_content|striptags|truncate(300, breakword=False, end='...')|indent(0, false)}}
</div>
0 Upvotes
1 Reply 1
stefen
Key Advisor | Partner
Key Advisor | Partner

Remove indent in blog listing template

@Marius I have found that adding a wistia video embed to the beginning of the post adds a non-breaking space which could be causing the issue. Do you have a link to share?

Stefen Phelps, Community Champion, Kelp Web Developer
0 Upvotes