WordPress CSS url reference
-
Hello again!
I’m integrating @font-face with my theme and it uses a CSS like:
@font-face { font-family: "fontname"; src: url(fontname.ttf) format("truetype"); } h1 { font-family: "fontname", serif; }
It works well when I upload the font on my server but how can I call it from the theme file?
I tried /wp-content/themes/mytheme/fontname.ttf
but that doesn’t work.. please help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WordPress CSS url reference’ is closed to new replies.