Site logo

Archived topic

How do I make first sentence of post larger

1 reply · Started by Pheonix on January 2, 2021

Viewing posts 1–2 of 2

Hi Pheonix,

The same as you can see from the inspector.

When you add content to a post, give the first sentence a class, for example: intro by using the page editor option:
https://tinyurl.com/yaqqc3my

Then add this CSS to style the intro text:

.intro {
    /*change numbers depends on your needs */
    font-size:30px;
    font-weight: 700;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

This archived topic is closed to new replies.