當我檢查網頁我遇到的部分元素作爲 section#sp-bottom
我Custom.css不工作
在風格控制檯,我看到
#sp-bottom (
margin: 10px 0px 0px 0px;
}
當我改變上述10px
到0px
,我可以看到10px
的頁邊距消失。
然後在我的模板custom.css
,我加入
#sp-bottom {
margin: 0px 0px 0px 0px;
}
但清除高速緩存中的&網頁瀏覽歷史記錄後,我仍然顯示10px
有的請教。
你有'link'ed樣式表在'index.html'文件? – DevNebulae
除了custom.css之外還有其他的CSS文件嗎?此外,你不能通過稍後編寫'#sp-bottom'來覆蓋選擇器'section#sp-bottom'。 –