Chrome开发人员工具 - (索引)样式表在哪里? [英] Chrome Developer Tools - Where is the (index) stylesheet?
问题描述
我正在修改基于WordPress的网站的主题,'新主题具体。尽管我更改了主题选项 - style.css
文件和 custom.css
文件,但我无法更改颜色。
(index)
文件中,括号中。在网上没有相关信息的时候,我决定稍后再看看。 几个小时后,我所做的所有修改都已经完成,现在它显示了新的颜色。但我仍然对这个(index)
文件感到好奇。它是一个脚本添加的规则?
它可能嵌入在HTML中的CSS( style
标签在头部
中),或者作为标记的一部分,或者通过JS动态添加(或者在页面呈现时可能由PHP添加)。 p>
需要更多信息才能给出比这更具体的答案。
I was modifying a theme for a WordPress based site, the Anew theme to be specific. Although I changed the theme options - style.css
file and custom.css
file, I couldn't change the color of the links.
Then I used Chrome's Developer Tools to check where my rules were overridden. The overriding rule was on an (index)
file, with parenthesis. With no relevant information on the internet, I decided to take a look at it later.
After some hours, all my changes were committed and now it shows the new color. But I am still curious about this (index)
file. Is it a script-added rule?
It is probably CSS embedded in the HTML (style
tags in the head
), either as part of the markup or added dynamically via JS (or possibly by PHP when the page is rendered).
Need more info to give any answer more specific than that.
这篇关于Chrome开发人员工具 - (索引)样式表在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!