今天在逛知更鸟博客的时候,发现他的那个tag标签页面挺好的,因此我就为Three主题也弄了这么一个tag标签页面,因此今天就将折腾的过程分享给你们。PS:下次Three主题升级到1.08版时将集成进去。css
具体操做步骤以下:ide
一、下载本站的提供的tag标签页面模板,并上传到Three主题文件夹内。spa
下载地址:博客
连接:http://pan.baidu.com/s/1gfnDWSb 密码:ow3k
二、在Three主题文件夹内的style.css文件最后面添加如下CSS代码:string
- .page-template-template-tag #primary{width:100%;}
- #tag_letter{margin-left:13px}
- #tag_letter li{list-style: none;float:left;background:#08c;width:31px;height:31px;line-height:31px;color:#a5a5a5;text-align:center;margin:4px;border-radius:2px}
- #tag_letter li:hover{background:#c40000}
- #tag_letter li a{color:#fff;display:block}
- #all_tags{margin:30px 6px;clear:both}
- #all_tags li {list-style: none;}
- #all_tags h4{margin:-70px 0 0 5px;padding:70px 0 30px 0;height:40px;border-bottom:1px dashed #dadada}
- #all_tags li a{margin:5px;color: #a9a9a9;}
- #all_tags li a:hover{text-decoration:underline;color:#c40000}
三、登陆WordPress后台新建一个页面,在“页面属性”的“模板”中选择“TAG页面模板”,而后【发布】便可。it
至此,tag标签页面已经完成,效果图以下:io
