Reslove the Header and Footer graphics of foliage theme not be found解決佈景Foliage頭尾無法顯示圖片

Changed Foliage this theme several days ago, but discovered the Header and Footer graphics not found. Resolve this problem when tried to modify foliage theme yesterday

I found a easy way to resolve this problem. I modified two among those lines in the themes/foliage/style.css

Original

}
#header {
background-color: #8c3;
background-image: url('themes/foliage/head960.jpg');
height: 100%;
border: 1px solid #ccc;
....

}
#footer {
background-color: #8c3;
background-image: url('themes/foliage/foot960.jpg');
height: 30px;
border: 1px solid #ccc

Later

}
#header {
background-color: #8c3;
background-image: url('head960.jpg');
height: 100%;
border: 1px solid #ccc;
....

}
#footer {
background-color: #8c3;
background-image: url('foot960.jpg');
height: 30px;
border: 1px solid #ccc;

Finally, save it and reload your indrx and then the header and footer graphics will be found. ^^


幾天前換了Foliage這個佈景,卻發現Header 和 Footer 的圖片無法顯示。直到昨天嘗試去修改佈景的時候才解決了這個問題。

原來這個Bug很容易修正,只要修改foliage裡的style.css就可以了,修改的地方如下: themes/foliage/style.css


#header {
background-color: #8c3;
background-image: url('themes/foliage/head960.jpg');

修改這一行變成:

background-image: url('head960.jpg');
................................

}
#footer {
background-color: #8c3;
background-image: url('themes/foliage/foot960.jpg');

修改這一行變為:

background-image: url('foot960.jpg');

之後,存檔、收工。回到首頁重新整理試試看. ^^

0 Responses