【问题标题】:Google Font Cookie does not work in WordPress?Google 字体 Cookie 在 WordPress 中不起作用?
【发布时间】:2016-05-17 17:01:32
【问题描述】:

在以下网站上,标题 (.post-header) 应该与这张图片中的一样(Google 字体:Cookie)。如果我分析它,它似乎采用代码但不起作用。你能帮忙吗?

http://www.vintagemaedchen.de

【问题讨论】:

    标签: css wordpress fonts


    【解决方案1】:

    字体的 CSS 文件丢失。您必须将以下行插入<head> 区域:

    <link href='https://fonts.googleapis.com/css?family=Cookie' rel='stylesheet' type='text/css'>
    

    【讨论】:

    • 找不到合适的工作表。你能帮我吗?已经在 stylesheet.css 中尝试过这是工作表列表:
    • 该行应该插入header.php文件中,应该有&lt;head&gt;区域。
    • 在 wordpress 中最好使用wp enqueue scripts 来加载脚本和样式。
    猜你喜欢
    • 1970-01-01
    • 2013-02-25
    • 2014-04-03
    • 2015-10-20
    • 2012-02-21
    • 2014-10-17
    • 2014-09-19
    • 2015-11-08
    • 2019-04-16
    相关资源
    最近更新 更多