Archived topic
Post excerpt: font size, color and weight
7 replies · Started by Roger on June 11, 2022
Hello,
How to change post excerpt font size, color and weight?
Hi Roger,
Give this CSS a shot:
.entry-summary p {
font-size: 20px;
color: #000000;
font-weight: 700;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo, The code didn't work...
Not sure if I understand.
I thought you wanted to change the post excerpt font size etc?
The link provided is a single post so there wouldn't be any post excerpt by default.
Hi Leo,
Sorry, maybe I didn't explain it correctly...
I would like to edit the summary which is added in the post edit panel (and is displayed below the post title).
I sent a picture to illustrate what I'm saying.
Hi Roger,
Try this:
.single .entry-header .entry-meta + p {
font-size: 20px;
color: #000000;
font-weight: 700;
}
Thank you!
No problem :)