【问题标题】:Wordpress Stylesheet (child theme and theme) Editor Not updating on siteWordpress 样式表(子主题和主题)编辑器不在现场更新
【发布时间】:2017-04-28 03:33:46
【问题描述】:

好的,我又问了一个问题。我编辑了该死的子主题样式表,但它并没有改变任何东西......大便什么?我在另一个使用相同主题的网站上没有这个问题...

这对网站没有任何影响...有什么想法吗?我什至尝试更改主题样式表而不是子主题......仍然没有。有问题的网站是http://comerestministries.com/wordpress/homepage3/

/*
Theme Name: Ichthys Child
Theme URI: http://ichthys.modeltheme.com/
Author: ModelTheme
Author URI: http://modeltheme.com/
Description: Ichthys - Church / Nonprofit / Charity WordPress Theme
Template: ichthys
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modeltheme
Tags: fluid-layout, custom-header, custom-menu, featured-images, post-formats, sticky-post

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/
@import url("../ichthys/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

.shop_cart {
    display: none !important;
}

h1 {
    font-size: 10%;
}

【问题讨论】:

    标签: html css wordpress


    【解决方案1】:

    好的,我想通了。由于某种原因,当我清除浏览器中的缓存时,样式表被缓存并且没有被清除。当我将浏览器上的样式表(查看页面源代码后)与 FTP 服务器上完全相同位置和文件名的样式表进行比较时,我发现了这一点。我很震惊他们是不同的,但是在浏览器上刷新样式表修复了它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-08-24
      • 2013-07-13
      • 2014-10-13
      • 1970-01-01
      • 2011-06-13
      • 1970-01-01
      • 1970-01-01
      • 2017-02-14
      相关资源
      最近更新 更多