Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In style.css has these code:
@font-face {
font-family: 'Steinem';
src: url('fonts/steinem.eot'); /* IE9 Compat Modes */
src: url('fonts/steinem.eot?iefix') format('eot'), /* IE6-IE8 */
url('fonts/steinem.woff') format('woff'), /* Modern Browsers */
url('fonts/steinem.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/steinem.svg#steinem') format('svg'); /* Legacy iOS */
}
But when i download font files from http://www.urbanfonts.com/fonts/Steinem.htm there are only these files:
STEINBI_.ttf
STEINEM.ttf
STEINEM_.ttf
STEINEMB.ttf
STEINEMI.ttf
STEINEMU.ttf
And theme is full mess.
How to fix this problem?
Comments
Comment #1
dmgange CreditAttribution: dmgange commentedI've loaded the recommended fonts into sites/all/themes/vert/fonts/ and they are not recognized/read by the theme. The web pages look the same whether there are fonts in the font directory or not.
Comment #2
dmgange CreditAttribution: dmgange commentedI'm guessing that there is a issue with the url variable in the styles.css file, and that the theme is failing over to a generic sans serif font.
Comment #3
dmgange CreditAttribution: dmgange commentedThis comment from the API $base_path documentation may be relevant:
Posted by yookoala on March 9, 2012 at 7:58am new
Since both url() and l() are affected by i18n site url prefix settings, you cannot get correct path to a file with url('filepath'). You should use $base_path instead:
Comment #4
emmajane CreditAttribution: emmajane commentedThis has been fixed in the 1.2 release. Please download the new version of the theme and follow the instructions that are now included. If you are still having problems after upgrading to the 1.2 release, please let me know in this issue.