Hi! I hate to ask, but I’m currently building a site with the Twenty-Twenty Four theme on WP (.com, premium/explore plan) and I’d like to change my H1 font to a custom one from my files.
I have *very* basic HTML / CSS knowledge, but I’ve done this before and it worked (obviously, it completely replaces the entire H1, but I don’t need that many sub categories for headings anyway, and the friend I’m designing for wants to add a script font for their CTAs ๐
The issue is that I can’t remember the proper CSS formatting when using WP’s Styles > Additional CSS in this way and it’s been so long since I’ve tried it that I can neither remember the code I used previously nor can I find any examples of this specific type of style code online. :/
*(Sidenote, my CSS knowledge is sooo limited, so I’m not sure why I feel so resistant to admitting to being stuck! But I do! i think the issue is that when we learned CSS, I refused to use the CSS side of dreamweaver and coded all my styles in the HTML half (which was very weird and confusing). Now I’m embarrassed to have forgotten everything my professors ever said about styles ;-;)*
I have the correct source path, and I have the font name.
I’ve tried variations of
H1 {
font-family: Retask;
}
**and**
@font-face {
font-family: font-name;
src: (sourcepath)
}
But I’m very lost๐ . I keep wanting to add an html head, but that flags as incorrect (which makes sense, lol), and I’m not sure about what other pieces of info I’m lacking here and where to put them. ๐ตโ๐ซ
The font is a script font without any modifiers like bold or italics, so I simply need my H1 to be tied to its path. I’m not sure what formatting WP needs to be able to do figure out what I’m asking it to do.
Am I remembering something that was possible in GoDaddy’s site builder that isn’t possible in WP?? (I *really* thought it was WP ;-;)
Any advice would be so lovely ๐
Thank you for taking the time to give this a read! (And if it’s in the wrong sub or it’s a silly question, feel free to delete and I’ll just…uhh…figure something out๐)
[ad_2]