教程开始:
NEW图标
1:加在wp-content/themes/jizhi-chlid/diy.css底部
.icon_new { display: block; animation: hot 1s infinite linear; -moz-animation: hot 1s infinite linear; -webkit-animation: hot 1s infinite linear; -o-animation: hot 1s infinite linear; width: 25px; height: 14px; background: url(/wp-content/themes/ripro-chlid/assets/new.png) no-repeat center; position: absolute; top: -8px; left: 50%; margin-left: -12.5px; }
2:放进后台-菜单-分类名称后面
<span class="icon_new"></span>
HOT图标
1:加在wp-content/themes/jizhi-chlid/diy.css底部
.icon_hot { display: block; animation: hot 1s infinite linear; -moz-animation: hot 1s infinite linear; -webkit-animation: hot 1s infinite linear; -o-animation: hot 1s infinite linear; width: 25px; height: 14px; background: url(/wp-content/themes/ripro-chlid/assets/hot.png) no-repeat center; position: absolute; top: -8px; left: 50%; margin-left: -12.5px; }
2:放进后台-菜单-分类名称后面
<span class="icon_hot"></span>