How Can Changing the Excerpt's font in the single posts?

Posted in: Newspaper
Post count: 52

Hi
How can I change the excerpt’s font and style? I mean not in the blocks, I want it for the single posts? For example I make them Bold and a bit bigger size.

Post count: 20688

Hi,

I believe you are referring to the post subtitle, in the post page
https://www.screencast.com/t/oPhbSbBu
The subtitle font properties can be changed in the theme panel fonts->post elements
https://www.screencast.com/t/6GuaMCr6x

Thanks

Post count: 52

Hi Simion
The excerpt is displaying at the first paragraph of the content body in the single post, my question was about it.
Thanks a lot and I wait for your guide

Post count: 20688

Hi,

That is true, the automatic excerpts are picked form the first paragraph in the post content, unless manually set. The post content paragraphs are treated the same, the first paragraph does not have a specific setting in the theme panel.
All the post content paragraphs can be customized, but not only the first one
https://www.screencast.com/t/4kmhaHxJscc

Thanks

Post count: 52

Ok while the change can’t be done via ThemePanel is there any way to style the excerpts via CSS?

Post count: 20688

Hi,

You could try and target the first paragraph in the post content with CSS, like this
https://www.screencast.com/t/8eyzgCOjwd0A
This code will select the first paragraph and allow you to style it as you want, give it a try. Use the font properties you want in the code example, then enter it in Theme panel->Custom CSS section

.td-post-content p:first-child {
color: blue;
}

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.