【问题标题】:theme cant read my css file path in drupal 7 why?为什么在drupal 7中主题无法读取我的css文件路径?
【发布时间】:2013-04-07 12:01:59
【问题描述】:

为什么我在控制台看到这个错误?

 "NetworkError: 404 Not Found - http://localhost/drupal/tooltip/css/layout.css"

我的文件路径是这样的

           /* mytheme.info */
            stylesheets[all][]   = tooltip/css/layout.css
            stylesheets[all][]   = tooltip/css/typo.css

这些文件在我的主题文件夹中

Folder: MYTHEME
   File: mytheme.info
   Folder: tooltip
       Folder: css
           File: layout.css
           File: typo.css

【问题讨论】:

    标签: php drupal drupal-7 drupal-theming


    【解决方案1】:

    URL 错误:localhost/drupal/tooltip/css/layout.css 应该是 localhost/drupal/sites/all/themes/YOUR_THEME_FOLDER/tooltip/css/layout.css。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-01-20
      • 1970-01-01
      • 2018-09-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多