Css 对于使用wordpress完成的站点,字体在ubuntu中不起作用
这是我刚刚上传到一个远程服务器的东西,一个在wordpress中开发的网站,使用了自定义的web字体,使用了字体,在Windows和Mac操作系统中运行良好。问题是在Ubuntu中查看该网站时,我想是在其他Linux环境中 这是我在style.css中使用的字体代码块Css 对于使用wordpress完成的站点,字体在ubuntu中不起作用,css,wordpress,ubuntu,fonts,Css,Wordpress,Ubuntu,Fonts,这是我刚刚上传到一个远程服务器的东西,一个在wordpress中开发的网站,使用了自定义的web字体,使用了字体,在Windows和Mac操作系统中运行良好。问题是在Ubuntu中查看该网站时,我想是在其他Linux环境中 这是我在style.css中使用的字体代码块 @font-face { font-family: 'vijayaregular'; src: url('./estilos/vijaya-webfont.eot'); src: url('./estilo
@font-face {
font-family: 'vijayaregular';
src: url('./estilos/vijaya-webfont.eot');
src: url('./estilos/vijaya-webfont.eot?#iefix') format('embedded-opentype'),
url('./estilos/vijaya-webfont.woff2') format('woff2'),
url('./estilos/vijaya-webfont.woff') format('woff'),
url('./estilos/vijaya-webfont.ttf') format('truetype'),
url('./estilos/vijaya-webfont.svg#vijayaregular') format('svg');
font-weight: normal;
font-style: normal;
}
这就是我所说的字体类型:
body{
background:#ffedbc;
font-size:12pt;
font-family: "vijaya", "open sans", Arial, Helvetica, sans-serif;
color:#970d34;
}
这个问题只发生在Ubuntu中,正如我之前所说,代码似乎没有加载任何字体,而是加载无衬线字体
我离开这个网站是为了让你可以看一看,请不要介意两个样式表和两个jQuery链接,那只是我在尝试疯狂的东西。
这里是:www.baccotrattoria.com.co
欢迎任何回复
谢谢 您在正文中输入了错误的字体名称。它应该是
字体系列:“vijayaregular”、“opensans”、Arial、Helvetica、sans serif代码>谢谢,我认为它能起作用,我现在在浏览器的控制台上做,它似乎能工作,即使它在页脚的间距上显示了一些错误,如果在windows上发生同样的情况,我稍后会看一看。。。谢谢!