出于某种原因,我的主题在 drupal 8 中找不到 css/style.css。
这是.info.yml:
name: Adminimal
type: theme
description: Drupal Administration Simplified.
# version: VERSION
# core: 8.x
base theme: seven
# Include CSS.
stylesheets:
all:
- css/style.css
# Information added by Drupal.org packaging script on 2014-10-23
version: '8.x-1.x-dev'
core: '8.x'
project: 'adminimal_theme'
datestamp: 1414059738
这是文件夹的样子:
Theme/adminimal.info.yml
Theme/css/style.css
style.css 文件中的 css:
html{
background-color: blue !important;
}
它甚至没有出现在我的 google chrome 控制台的样式部分中,所以我认为它没有找到该文件,但为什么呢?
关于drupal中的jquery,我无法让它工作:https ://www.drupal.org/node/1541860 使用://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery。 min.js 我应该怎么做?
感谢您的帮助!