说明:
隐藏一些页面元素
代码部署:
将以下代码添加到模板的 style.css 或者后台外观→主题选项→定制风格→自定义样式
- /*隐藏文章列表缩略图上的分类名称*/
- .thumbnail .cat{display: none;}
- /*去掉幻灯上的标题文字*/
- .slider-caption {display: none; }
- /*隐藏文章列表中的日期和评论*/
- .entry-meta .comment, .entry-meta, .single-footer .comment {
- display: none;
- }
- /*隐藏页脚“关于本站”小工具下面的文章信息*/
- .footer-widget .about-inf {
- display: none;
- }
- .footer-widget .about-img img {
- border: none;
- }
- /*隐藏打印按钮*/
- .single-meta .print, .begin-single-meta .print {
- display: none;
- }
- /*隐藏文字大小*/
- #fontsize{display: none;}
- /*隐藏文章列表中的日期和评论*/
- .entry-meta .comment, .entry-meta, .single-footer .comment {
- display: none;
- }