CMS Development

ErinKas
Top Contributor

Editing a Blog Listing Page

SOLVE

Hello Community:

 

Can anyone assist with editing a blog listing page.  https://www.omniresources.com/blog

We would like the content to appear as "Justified" text and also display more than 1 sentence. Can anyone help?

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Editing a Blog Listing Page

SOLVE

heya @ErinKas,

for justifying

.post-item .post-body{
  text-align: justify;  
  text-justify: inter-word;
}

for the length, would need to see your template markup.   it will look something like this:

{{ content.post_body|truncate(220) }}

Remove the truncate filter

Once you do that, you can make sure that post summary is enabled and use the read more separator

 

good luck out there,

d

View solution in original post

0 Upvotes
2 Replies 2
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Editing a Blog Listing Page

SOLVE

heya @ErinKas,

for justifying

.post-item .post-body{
  text-align: justify;  
  text-justify: inter-word;
}

for the length, would need to see your template markup.   it will look something like this:

{{ content.post_body|truncate(220) }}

Remove the truncate filter

Once you do that, you can make sure that post summary is enabled and use the read more separator

 

good luck out there,

d

0 Upvotes
ErinKas
Top Contributor

Editing a Blog Listing Page

SOLVE

Thank you so much @dennisedson! PERFECT!!!! 🙂

0 Upvotes