[Blogger] 網誌存檔(blog archive)左邊吃字問題
這是別人丟給我的問題
他堅持不讓我看他的網誌 所以很抱歉沒辦法提供網址...
據他的說法 他使用內建的階層式Archive時
原本
▼2015
▼一月
第一篇文章
第二篇文章
會變成
2015
一月
一篇文章
二篇文章
好像每一行的左邊都會被吃掉一個全型
而且只有Archive有這個問題
其他側邊欄位(sidebar)都正常
我叫他插入
.BlogArchive #ArchiveList ul li {text-align:center; }
讓Archive置中就能看到被吃掉的字
或者將Archive從側邊移到頂端或底端也能恢復正常
所以應該是被側邊欄位定義的某條css遮住?
請問這可能是什麼問題呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.137.13.79
※ 文章網址: https://www.ptt.cc/bbs/Blog/M.1425183410.A.B8A.html
→
03/01 15:49, , 1F
03/01 15:49, 1F
→
03/01 15:51, , 2F
03/01 15:51, 2F
→
03/01 15:52, , 3F
03/01 15:52, 3F
我實在找不出為什麼只有Archive會出問題...
下面附上他的範本裡跟sidebar有關的部分
看起來應該是網路找的範本
/*==///////////////////////////////////////////
// Wrappers Style //
/////////////////////////////////////////==*/
.ct-wrapper { padding: 0px 0px; position: relative; max-width: 1200px;
margin: 0 auto; }
.outer-wrapper { margin: 25px 0; position: relative; }
.header-wrapper { display: inline-block; float: left; width: 100%; }
.main-wrapper { width:auto; margin-right: 370px; }
#content { position: relative; width: 100%; float: left; }
.sidebar-wrapper { width:340px; float: right; }
/**** Layout Styling CSS *****/
body#layout .header-wrapper { margin-top: 40px; }
body#layout .outer-wrapper, body#layout .sidebar-wrapper, body#layout
.ct-wrapper { margin: 0; padding: 0; }
body#layout #About { width: 100%; }
/*==///////////////////////////////////////////
// SideBar Stying Css //
/////////////////////////////////////////==*/
.sidebar { margin: 0; padding: 0; display: block; }
.sidebar h2 {
display: inherit;
font-size: 20px;
margin-bottom: 10px;
padding-bottom: 5px;
position: relative;
text-align: center;
text-transform: capitalize;
}
.sidebar .widget { background: #fff; padding: 25px 20px; clear: both;
font-size: 13px; line-height: 23px; margin-bottom: 30px; }
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.BlogArchive #ArchiveList ul li {text-align:left; margin-left: 10px}
.sidebar li {
border-bottom: 1px solid #F1f4f9;
line-height: normal;
list-style: none !important;
margin: 8px 0;
overflow: hidden;
padding: 0 0 10px 0px !important;
}
關於sidebar定義的就這些了
請問究竟是哪裡有問題呢?
※ 編輯: Abalamindo (220.137.13.79), 03/01/2015 18:08:27
推
03/03 14:38, , 4F
03/03 14:38, 4F
Blog 近期熱門文章
PTT數位生活區 即時熱門文章