Trouble using web font
-
I converted a font using Font Squirrel. I uploaded the fonts to the library/font directory and added the following code to the main stylesheet for Travelify. The font works, but it doesn’t respond to the size I give to it. No matter how big or small I want it, it just stays the same size.
@font-face { font-family: 'old_pressregular'; src: url('library/font/old_press-webfont.eot'); src: url('library/font/old_press-webfont.eot?#iefix') format('embedded-opentype'), url('library/font/old_press-webfont.woff2') format('woff2'), url('library/font/old_press-webfont.woff') format('woff'), url('library/font/old_press-webfont.ttf') format('truetype'), url('library/font/old_press-webfont.svg#old_pressregular') format('svg'); font-weight: normal; font-style: normal; }
.entry-title { font: 60px 'old_pressregular', sans-serif; line-height: 1.4em; }
I’ve tried using a couple different web font plugins, but didn’t get any satisfactory results. I’d appreciate any help with this problem.
- The topic ‘Trouble using web font’ is closed to new replies.