Adding more than one custom font
-
Hi there,
Can you tell me how to change these two codes if I want to add more than one custom font, please?
https://docs.oceanwp.org/article/128-how-to-add-custom-fontsThank you!
@font-face {
font-family: ‘TitilliumText22L-600wt’;
src: url(‘fonts/TitilliumText22L-600wt.ttf’) format(‘truetype’);
}and
// Add custom font to font settings
function ocean_add_custom_fonts() {
return array( ‘TitilliumText22L-600wt’ ); // You can add more than 1 font to the array!
}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding more than one custom font’ is closed to new replies.