Is there a way to include multiple custom fonts with additional parameters for tracking (space between each letters0? We are using 2 custom google fonts but the automatic spacing does not fit our needs.
Solved
How do I add spacing (tracking) for custom fonts?
+2
Best answer by elisegaines
Hey
<style type="text/css">
@import url('FONT_URL');
p, ol, li, ul { font-family: INSERT_FONT_NAME, INSERT_A_FALLBACK_FONT, sans-serif; letter-spacing: 0.1em;
}
h1, h2, h3, h4 { font-family: INSERT_FONT_NAME, INSERT_A_FALLBACK_FONT, sans-serif;
}
</style>
In the above code, the first custom font (used for styles p, ol, li, and ul) will have slightly wider letter spacing of 0.1 em, due to the letter-spacing: 0.1em property I’ve added. You can also use pixels instead of em! More info here: https://cssreference.io/property/letter-spacing/
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.