2015年6月11日 星期四

設定 blog 所顯示圖片大小

如發現預設圖片顯示有點小, 可從設定中統一圖片大小, 到 "範本" > "自訂"


再到 "進階" > "新增 CSS"


填寫如下:

.post-body img {
width: 500px;
height: auto; }

.post table.tr-caption-container img {
width: 500px;
height: auto;
}

當中 .post-body img 為沒有加標題的圖片, .post table.tr-caption-container 為加有標題的圖片, width 為闊, height 為高.