教程开始:

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>

全选代码复制

如下图:

日主题ripro最新图标如何添加?-1
日主题ripro最新图标如何添加?-2

效果图:

日主题ripro最新图标如何添加?-3
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。