請展開小裝置範本找到
<!--Show image as background to text-->
它下面有一串
<div expr:style='"background-image: url(\"" + data:sourceUrl +
"\"); " + "background-repeat:
no-repeat; " + "width: " + data:width +
"px; " + "height: " + data:height +
"px;"' id='header-inner'>
把裡面的 + "width: " + data:width +"px; " 刪掉
這樣子好像有點費功夫...
看來你似乎是直接在編輯標頭的地方上傳圖片的
建議先整個取消掉,把圖片傳到別的空間
然後改在#header-inner{}裡寫背景的css語法
所有跟css有關的部份最好都統一在範本開頭那裏
這樣以後要修改比較方便
※ 引述《pariscorner (強悍的26歲( ̄ε(# ̄))》之銘言:
: 抱歉,我真的找不到,所以只好把程式碼複製出來。
--
http://lingshu1005.blogspot.com/
something about my life
--
<!--Show image as background to text-->
它下面有一串
<div expr:style='"background-image: url(\"" + data:sourceUrl +
"\"); " + "background-repeat:
no-repeat; " + "width: " + data:width +
"px; " + "height: " + data:height +
"px;"' id='header-inner'>
把裡面的 + "width: " + data:width +"px; " 刪掉
這樣子好像有點費功夫...
看來你似乎是直接在編輯標頭的地方上傳圖片的
建議先整個取消掉,把圖片傳到別的空間
然後改在#header-inner{}裡寫背景的css語法
所有跟css有關的部份最好都統一在範本開頭那裏
這樣以後要修改比較方便
※ 引述《pariscorner (強悍的26歲( ̄ε(# ̄))》之銘言:
: 抱歉,我真的找不到,所以只好把程式碼複製出來。
--
http://lingshu1005.blogspot.com/
something about my life
--
All Comments