Change Heading Font Size and Style on New One-Page Checkout Page

I would like to change the font style and size of the headings in my one-page shopify checkout page. I know the script I want to add, but I don’t know where to add it in my code to make it work. See here:

element.style {
}
.n8k95w2, .n8k95w3 {
line-height: var(–x-global-typography-line-size-small);
font-size: 15px;
font-weight: 400;
letter-spacing: 2px;
text-transform: uppercase;
}

Currently, this is what the font looks like:

And this is what I want it to look like:

Any help would be greatly appreciated.

Hi @terrasoleil

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag → save.

h2.n8k95w1._1frageme0.n8k95w2 {

font-weight: 100 !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Hey! Thank you for the response. Unfortunately this didn’t work.