font for content issues
-
I’ve done lengthy research online and on this support page but unfortunately nothing has worked. I’m attempting to create a new default font for page content. I’ve uploaded the new font to the child theme directory and confirmed it is there but still no luck. Here is what I have added to the child theme css:
/* new font type – footlight */@font-face {
font-family: ‘footlight’;
src:url(‘https://thesouljournalist.com/wp-content/themes/preference-lite-child/preference-lite-child/fonts/footlight.ttf’) format (‘truetype’);
}/* replacement font for body text */
html {
font-size: 100%;
font-family: footlight;
color:#747474;
}
body {
font-size:13px;
font-size: 0.813rem;
font-family: footlight;
line-height:21px;
line-height:1.313rem;
}
- The topic ‘font for content issues’ is closed to new replies.