-4

我正在从 osclass 开发一个站点。我创建了自定义页面,但它们不带有 css 样式或图像。js 和 php css 文件在同一个文件夹中。文件和图像存在并且在那里。但是 Chrome 开发者控制台正在报告 404 错误。所有文件都在这个路径中:

C:\xampp\htdocs\oc-content\themes\osclasswizards\

例如:PHP 文件路径“page-launches.php” C:\xampp\htdocs\oc-content\themes\osclasswizards\page-launches.php

css文件路径“style.css” C:\xampp\htdocs\oc-content\themes\osclasswizards\style.css

4

1 回答 1

0

非常感谢你提供的信息。cjs1978,它们在同一个文件夹中,直到我在我的 style.css 文件中返回了一个文件夹,将它留在 css 和 php 中的同一个文件夹中,但它也不起作用。文件和图像存在并且在那里。但是Chrome的开发控制台在所有文件中都指责该死的404错误,(在下面的照片中)。错误 Chrome 开发控制台

Juan I. Morales Pestana,文件夹/文件的结构如下:

PHP文件路径“page-lancamentos.php” C:\xampp\htdocs\oc-content\themes\osclasswizards\page-lancamentos.php

css文件路径“style.css” C:\xampp\htdocs\oc-content\themes\osclasswizards\css_p\style.css

非常感谢您的帮助。

于 2018-06-02T01:59:18.830 回答