知更鸟begin主题隐藏页面一些元素

2021年8月15日00:30:34 发表评论 75,417 次浏览

说明:

隐藏一些页面元素

代码部署:

将以下代码添加到模板的 style.css 或者后台外观→主题选项→定制风格→自定义样式

  1. /*隐藏文章列表缩略图上的分类名称*/
  2. .thumbnail .cat{displaynone;}
  1. /*去掉幻灯上的标题文字*/
  2. .slider-caption {displaynone; }
  1. /*隐藏文章列表中的日期和评论*/
  2. .entry-meta .comment, .entry-meta, .single-footer .comment {
  3. displaynone;
  4. }
  1. /*隐藏页脚“关于本站”小工具下面的文章信息*/
  2. .footer-widget .about-inf {
  3. displaynone;
  4. }
  5. .footer-widget .about-img img {
  6. bordernone;
  7. }
  1. /*隐藏打印按钮*/
  2. .single-meta .print, .begin-single-meta .print {
  3. displaynone;
  4. }
  1. /*隐藏文字大小*/
  2. #fontsize{displaynone;}
  1. /*隐藏文章列表中的日期和评论*/
  2. .entry-meta .comment, .entry-meta, .single-footer .comment {
  3. displaynone;
  4. }

 

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: