打标签 ‘ monochrome ’

WordPress MonoChrome 主题 修改记录

一、顶部文章分类去掉“首页”(否则4个分类加“首页”,太长了,挤到下一行来了) wp-content/themes/monochrome/js/jscript.js > $("#menu > li:first-child").addClass("first_menu"); + $("#menu > li:first-child+li").addClass("first_menu"); > $("#menu > li:first-child.current_page_item, #menu > li:first-child.current-cat").addClass("first_menu_active"); + $("#menu > li:first-child+li.current_page_item, #menu > li:first-child+li.current-cat").addClass("first_menu_active"); wp-content/themes/monochrome/style.css + #menu li:first-child { display: none; } > #menu .first_menu { border:none; background:none; } 二、点击某个分类后,文章标题字体过小 wp-content/themes/monochrome/style.css - .archive_contents h2 { font-size:14px; margin:0 0 5px 0; padding:0; } + .archive_contents h2 { font-weight: normal; } 三、文章标题颜色不够明晰 wp-content/themes/monochrome/style.css h2 a { color: green !important; font-weight: bold; } 四、避免分类页和搜索页中,将整篇文章的文字作为链接,改为只给“阅读全文”添加链接 wp-content/themes/monochrome/archive.php wp-content/themes/monochrome/search.php -<p><a [ 阅读全文]

cc