【发布时间】:2016-05-31 21:59:32
【问题描述】:
如您所见:http://www.mfdevco.com/solutions/ 子主题在头部被调用:
<link rel="stylesheet" id="x-child-css" href="http://www.mfdevco.com/wp-content/themes/x-child/style.css?ver=4.0.7" type="text/css" media="all">
但由于某种原因,当我检查元素时没有显示更改,这就是我的子 CSS 文件中的全部内容:
/*
Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x
*/
li.x-nav-tabs-item.active a {
color: #fff !important;
box-shadow: none;
background: #000 !important;
}
感谢所有帮助!
【问题讨论】:
-
添加主题主样式ex(@import style.css)
-
样式正在加载,但被 ID 为“x-customizer-css-output”的
-
这是一个主题,所以它是生成的,不知道如何删除/编辑?
-
好的,所以在我进行更改一小时后,编辑出现了,大约一小时前我将其删除,现在它们不会消失。似乎是缓存问题,但在移动设备和其他浏览器上进行测试后,样式仍在显示?