我在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 (将#修改为@)