WordPress MonoChrome 主题 修改记录

一、顶部文章分类去掉“首页”(否则4个分类加“首页”,太长了,挤到下一行来了)

wp-content/themes/monochrome/js/jscript.js

> jQuery(".menu > li:first-child").addClass("first_menu");
+ jQuery(".menu > li:first-child+li").addClass("first_menu");
> jQuery(".menu > li:first-child.current_page_item, .menu > li:first-child.current-cat, .menu > li:first-child.current-menu-item").addClass("first_menu_active").removeClass("first_menu");
+ jQuery(".menu > li:first-child+li.current_page_item, .menu > li:first-child+li.current-cat, .menu > li:first-child+li.current-menu-item").addClass("first_menu_active").removeClass("first_menu");

wp-content/themes/monochrome/style.css

#header_top .header_menu .first_menu {display: none;}

二、文章标题

wp-content/themes/monochrome/style.css

.post_title { color: green; font-size: 20px; font-weight: bold; }

三、两边侧栏的字体由大小11px->12px

四、隐藏 pre 的滚动条,实在是太丑了

wp-content/themes/monochrome/style.css

- pre { border:1px solid #ccc; background:#fafafa; padding:10px 20px; margin:0 0 1em 0; overflow:auto; }
+ pre { border:1px solid #ccc; background:#fafafa; padding:10px 2px; margin:0 0 1em 0; overflow:hidden; font-size:10px;}

五、删除 Atom Feed 链接,搞这么多干啥,让人迷糊 =_=!

wp-content/themes/monochrome/header.php

  1. 还没有评论

  1. 还没有引用通告。