[英]WordPress, finding css for Roots theme
I hired a guy to make a WordPress website for me, http://www.brilliantzenaudio.com , and I need to make some changes. 我聘请了一个人为我创建一个WordPress网站, http://www.brilliantzenaudio.com ,我需要做一些改动。 I'm a programmer (C++ and Python) so I'm going to attempt these changes myself.
我是程序员(C ++和Python),所以我将自己尝试这些更改。 Apparently the guy I hired based the WordPress site on the Roots theme.
显然我聘请的人是基于Roots主题的WordPress网站。 I've been digging through some of the php code and I notice many "div" elements that have id's and class's like "header" and such.
我一直在挖掘一些PHP代码,我注意到许多“div”元素有id和类似“标题”等。 I assumed that the styling for these elements came from a css file somewhere.
我假设这些元素的样式来自某个地方的css文件。 The only one I can find is style.css.
我能找到的唯一一个是style.css。 And it has nothing but comments!
它只有评论! Where can I find the code that styles these div elements?
我在哪里可以找到这些div元素的样式代码?
/*
Theme Name: Roots
Theme URI: http://www.rootstheme.com/
Description: Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate and Bootstrap. <a href="https://github.com/retlehs/roots/contributors">Contribute on GitHub</a>
Version: 6.4.0
Author: Ben Word
Author URI: http://benword.com/
License: MIT License
License URI: http://opensource.org/licenses/MIT
*/
You can find your css in /assets/css/app.css
. 你可以在
/assets/css/app.css
找到你的css。 Roots does not use style.css
. Roots不使用
style.css
。
The roots theme places all your css/images etc into a folder called assets
. 根主题将所有css / images等放入名为
assets
的文件夹中。
Inside assets you will find a folder called css
. 在内部资产中,您将找到一个名为
css
的文件夹。
Inside there you will find a file called app.css
- this is what he should be using if he's using the roots theme. 在那里,你会发现一个名为
app.css
的文件 - 如果他使用的是根主题,这就是他应该使用的文件。
Note: the assets
folder can either be in your root
folder or in your theme
folder, depending on how the roots theme was configured. 注意:
assets
文件夹可以位于root
文件夹中,也可以位于theme
文件夹中,具体取决于根主题的配置方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.