Site logo

Archived topic

Change fonts on one post only

3 replies · Started by Kelsey on February 16, 2022

Viewing posts 1–4 of 4

Hi,

What CSS would I use to change the font for headlines on just one of my posts? I don't want to affect the styling of headlines in any other posts.

Thank you,

Kelsey

Hi Kelsey,

You can try something like this:

.postid-2221 h1, .postid-2221 h2, .postid-2221 h3{
    font-family: math;
}

Replace 2221with your post id.

Worked great. Thank you!

No problem :)

This archived topic is closed to new replies.