首页 > 其他 > 详细

修改博客园博客样式

时间:2016-03-17 19:22:29      阅读:150      评论:0      收藏:0      [点我收藏+]

第一步:先选择主题“BlackLowKey”,

第二步:开chrome浏览器的debug,调试页面达到效果。

第三步:选择body标签,如下图:

技术分享

把原来的背景图改为自己想要的,例如我是先上传到自己的相册,然后获取地址来显示的

body {
background: url(http://images.cnblogs.com/cnblogs_com/philonic/801443/o_%E6%98%9F%E7%A9%BA.jpg) top center no-repeat #000 !important;
}

最后完成》》》》

我的代码修改量是最小的,稍微改了一下效果,附上我的CSS

#home {
margin: 0 auto;
width: 90% !important;
}

#mainContent {
width: 85% !important;
}
#navigator {
margin-top: 0px !important;
}
#sideBar {
margin-right: 0px !important;
padding-bottom: 50px !important;
background-color: #023C84 !important;
}
.newsItem .catListTitle {
background: #907B7B !important;
}
.catListTitle {
background: #907B7B !important;
}
body {
background: url(http://images.cnblogs.com/cnblogs_com/philonic/801443/o_%E6%98%9F%E7%A9%BA.jpg) top center no-repeat #000 !important;
}

 

修改博客园博客样式

原文:http://www.cnblogs.com/philonic/p/5288443.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!