自定义 CSS drupal 8

问题描述

我的问题是:我的主题有什么问题? 作为 Drupal 主题课程的一部分,我只是按照分步教程进行操作。

我只是尝试添加 CSS 文件并使用

进行测试
* {background: red}

但它不起作用! :( 我清除缓存。 [arbo][1] [1]:https://i.stack.imgur.com/BQmby.png

name: Endymion
description: This is the best theme ever
type: theme
core: 8.x
screenshot: endymion.png
regions:
  header: Header
  content: Content
  sidebar_first: Sidebar First
  footer: Footer
  page_top: Page top
  page_bottom: Page bottom
libraries:
  - endymion/global-css

这是我的图书馆。

global-css:
  version: VERSION
  css:
    theme:
      css/elements.css: {}
      css/layout.css: {}
      css/print.css: { media: print  }

非常感谢您的帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)