如何正确地将样式应用于Child主题

时间:2015-06-13 13:05:31

标签: css wordpress themes wordpress-theme-customize

我有一个情况。我的孩子style.css文件包含以下行:

@import url("../notio-wp/style.css");

Main theme style.css文件包含以下消息:

/*
* PLEASE DO NOT EDIT THIS FILE!
* 
* This file is only in your themefolder for WordPress to recognize basic theme data like name and version
* CSS Rules in this file will not be used by the theme. 
* Instead use the app.css file that is located in your themes /assets/css/ folder to add your styles. 
* If you just want to add small css snippets you might also  want to consider to add it to the designated 
* CSS option field in your themes backend at: Appearance -> Theme Options
*/

我在custom css主题字段和app.css文件中做了一些修改。

如果我只是将css文件复制到子主题结构中,或仅将app.css修改为app.css,那么将新style.css样式包含在子主题中的最佳方式是什么?在css主要主题字段的custom css行旁边的行select `t1`.`Date` as **`*When*`**, ( select avg(t1.column) from t1 where `t1.`Date` = `***When***` ) as `Short column name`, from t1 group by `Date` order by `Date` 文件中的行?谢谢,

0 个答案:

没有答案