我正在创建自定义皮肤我有来自CSS文件的404皮肤错误在gooogle chrome java脚本控制台中。我在应用style时没有问题。我想删除错误。
GET http://localhost/ideapark/Portals/_default/skins/ideapark_bootstrap/css/css/bootstrap.min.css 404 (Not Found) LogViewer.aspx:11
GET http://localhost/ideapark/Portals/_default/skins/ideapark_bootstrap/css/css/css/lts.css 404 (Not Found) LogViewer.aspx:11
GET http://localhost/ideapark/Portals/_default/skins/ideapark_bootstrap/css/css/bootstrapselect.min.css 404 (Not Found) LogViewer.aspx:11
include Css on Skin
<dnn:DnnCssInclude ID="bootstrapCSS" runat="server" FilePath="css/bootstrap.min.css" PathNameAlias="SkinPath" Priority="14" />
<dnn:DnnCssInclude ID="DnnCssInclude1" runat="server" FilePath="css/lts.css" PathNameAlias="SkinPath" Priority="13" />
<dnn:DnnCssInclude ID="DnnCssInclude2" runat="server" FilePath="css/bootstrapselect.min.css" PathNameAlias="SkinPath" Priority="12" />
答案 0 :(得分:0)
我假设错误与/ css / css路径有关。 Skin的ASCX文件存储在哪里?
如果您尝试在浏览器中加载网址
http://localhost/ideapark/Portals/_default/skins/ideapark_bootstrap/css/css/bootstrap.min.css
http://localhost/ideapark/Portals/_default/skins/ideapark_bootstrap/css/bootstrap.min.css