微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

自定义 CSS drupal 8

如何解决自定义 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 举报,一经查实,本站将立刻删除。