Add Excerpt to Recent Post Element

Hi, I would like add a excerpt to a recent post element.
Like from the left to the right in the picture:

The image size can remain the same.

Would be great if anyone can help out:)
Thank you.

Hi there,

Kindly read this post to know how you can add the excerpt to the recent post:

Please consider that this is a customization request and outside our support scope we will not be able to implement or maintain the suggested code for you.

Thank you for your understanding

Hi Christopher,

Thanks for the help! It worked!
Is there any way I can change the length of the Excerpt?
It seems to be showing too much at the moment…

Thanks a lot!

Hello There,

It’s good to know that it works for you. For the excerpts, the WordPress default is usually 55 words. In X theme, the default is 60 words. If you want to change this, please go to X > Launch > Options > Blog. Please toggle the “FULL POST CONTENT ON INDEX” change the 60 to at least 30 or less. You can toggle it again and save your changes.

Hope this helps.

1 Like

Hi there,

Thank you for the help!
Just one last thing, How do I make the text in the Excerpt to align to the left? It currently aligns to the center.
Thank you!

Hi there,

It should align to the left by default unless there was a malformed HTML where the center alignment is applied and it’s affecting its relative elements, please provide the site’s URL that has this issue and I’ll check.

Thanks!

1 Like

Hi,
Please see: http://easterncure.com/

Thank you.

Hi There,

Thanks for the URL!

Can you please add this css to your customize css, and let us know how it goes.

.x-recent-posts-excerpt {
text-align: left;
}

Thanks

1 Like

Hi,

Thanks! Everything works now!

Glad that we could be of a help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.