How to customise first paragraph font ?

Posted in: Newspaper
Post count: 104

Hi, how can we do this ?

Post count: 27744

Hello,

You can add an extra class on the first paragraph, and use the custom code css to set what font you want -> https://i.imgur.com/N1Twqki.png

Thank you!

Post count: 104

Hi, thank you. I’d like to do it on all posts please. Can’t edit more than 5000 of them 🙂

Post count: 27744

Hello,

You can use this custom code css
.tdb_single_content .tdb-block-inner > p:first-child
{
font-family: Lato!important;
}

Set the code in the theme panel -> custom code -> custom css.

Thank you!

Post count: 104

Thank you so much !

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.