进入 后台 – 外观 – 自定义 – 额外CSS 添加下面的的代码:

/* 分类角标 */.yfxxin {display: inline-block;transform: translateY(-12px); font-size: .75rem; letter-spacing: 0.05em;background: linear-gradient(to top, #b4b1ef, #e21fc7 7.56%); color: #ffffff; border-radius: 1rem; padding: .15rem .275rem; line-height: 1; font-weight: bold;} .new { display: inline-block; transform: translateY(-12px); font-size: .75rem; letter-spacing: 0.05em; background: linear-gradient(to top, #f308a0 0%, #fb0655 100%); color: #ffffff; border-radius: 1rem; padding: .15rem .275rem; line-height: 1; font-weight: bold;}

然后进入 后台 – 外观 – 菜单 你的菜单名称后面添加代码:

<span class="yfxxin"> 新</span>