微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我在worpress环境中上传政府备忘单时遇到问题

如何解决我在worpress环境中上传政府备忘单时遇到问题

对不起我的英语,但我希望了解我的问题jijiji

我正在努力制作一个带有“专业主题”(Colibri)的wordpress网页,我需要使用特定的排版(webfont),现在我不知道有什么问题,请帮忙

我在“ style.css”上的代码末尾放置了一个代码:(“ ......”用于隐藏我的页面

@font-face {
font-family: 'gobclregular';
src: url(' http://....../public_html/wp-content/themes/colibri-wp/resources/fonts/gobcl_regular-webfont.woff2') format('woff2'),url('http://....../public_html/wp-content/themes/colibri-wp/resources/fonts/gobcl_regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;  
}

然后我修改标题代码

html.colibri-wp-theme #colibri .page-comments .comments-title {  
  font-family: gobclregular;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.25em;
  color: black; 
}

但是当我保存并加载页面时,什么也没发生...

我停用了用于保存缓存“ LiteSpeed缓存”的插件...

但是仍然没有任何反应,我在index.PHP上查看“源代码”,在“ head”中找到了对该字体的引用

<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>       
<style type="text/css" id="wp-custom-css">
            @font-face {
    font-family: 'gobclregular';
    src: url('http://....../public_html/wp-content/themes/colibri-wp/resources/fonts/gobcl_regular-webfont.woff2') format('woff2'),url('http://......./public_html/wp-content/themes/colibri-wp/resources/fonts/gobcl_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}       
</style>

任何帮助我都非常感谢!

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。