admin管理员组文章数量:1384512
I have uploaded TTF, WOFF, WOFF2, SVG fonts to 'fonts' folder in my child theme directory:
font-family: 'PixelArial';
src: url('/wp-content/themes/hello-theme-child-master/fonts/pixearg_-webfont.ttf') format('truetype'),
url('/wp-content/themes/hello-theme-child-master/fonts/pixearg_-webfont.svg') format('svg'),
url('/wp-content/themes/hello-theme-child-master/fonts/pixearg_-webfont.woff2') format('woff2'),
url('/wp-content/themes/hello-theme-child-master/fonts/pixearg_-webfont.woff') format('woff');
font-weight: normal;
}
I have added the following to my CSS
.popup-header {
font-family: 'PixelArial';
font-weight: normal;
font-size:10px;
padding: 5px;
cursor: move;
z-index: 10;
background-color: #ececec;
color:black;
The font is displaying correctly on Safari but not on Chrome...when I inspect the element on Chrome it shows that is is picking up the font but showing a different font????
本文标签: Font not showing in Chromebut fine in Safari
版权声明:本文标题:Font not showing in Chrome, but fine in Safari 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744533242a2611160.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论