Hack Blogger XML Template for Wider Title

mail2me 正在用的這個 Evidens 模板固定使用兩個右邊欄,因此正文區塊自動浮動時,日誌標題有可能因為過寬而自動換行。昨天的日誌 Pointing Magnifier for motor impairments 無端端這樣丟失了最後一個單詞,以致自動生成的固定鏈接變成了無意義的pointing-magnifier-for-motor.html。@medecinsam

首先刪除 html 中的sidebar1部分
〈b:section class='r1' id='sidebar1' preferred='yes'〉
……
〈/b:widget〉
〈/b:section〉

接著編輯CSS中的正文區塊 #center 的右邊距、邊欄 #sidebar-wrapper 的寬度,令其和sidebar2一致

/*-- (Principal) --*/
#center {
margin-right:350px;
height:auto!important;}


/*-- (Lateral) --*/
#sidebar-wrapper {
float:right;
width:310px;
height:auto!important;}

最後把CSS中邊欄1的編碼r1全數刪去。

修改後的模板 Evidens White 有1個右側欄,固定寬度300px,正文寬度自適應。為了保證屏幕分辨率為800×600的閱讀體驗,博客貼圖的寬度應為460px。仍然保留了原始 Evidens White xml template for blogger.com 的特質。

1 评论:

এডমিন 提到...

Installed in my blog http://exam-schedule.blogspot.com now want to edit the post title size and sidebar color.

張貼留言

top