![](/img/trans.png)
[英]My Joomla Template is loading my custom CSS using JS. Is there a way to add the unique version tag to my custom CSS? i.e: custom.css?20180101
[英]Cloudaccess.com , joomla 3, my template and custom.css issue
我在cloudaccess.com上使用自己的模板設計了一個joomla網站,但遇到一個奇怪的問題。
我的模板已上傳到我的服務器上,並安裝在joomla中。 它甚至可以很好地加載。 我在模板css文件夾中創建了文件custom.css,以進一步自定義它,但是當我在cloudaccess.com上重新加載字體結束頁面時,custom.css永遠不會加載,盡管它存在於文件夾中。 出於某種原因,joomla不會閱讀它,我也不知道為什么,因為在我的計算機上使用xampp加載它就好了!
知道為什么這個奇怪的問題出現了嗎?
當自定義CSS未加載到模板時,有時會發生這種情況。 確保有指向自定義CSS文件的鏈接。 如果不存在,請將以下內容添加到default.css文件中
<link href="{path}/custom.css" rel="stylesheet" type="text/css"/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.