RiPro主题美化之二级菜单添加小圆点图标
RiPro主题美化之二级菜单添加小圆点图标[wordpress美化教程]
1、在ripro/assets/css/diy.css 中添加下列CSS
.lanse{box-sizing:border-box;content:'';width:12px;height:12px;border-radius:50%;position:absolute;top:50%;margin-left:10px;margin-top:-6px;left:0;border-color:#61e1b9;border:3px solid #7a99f2}
.lvse{box-sizing:border-box;content:'';width:12px;height:12px;border-radius:50%;position:absolute;top:50%;margin-left:10px;margin-top:-6px;left:0;border-color:#61e1b9;border:3px solid #70d7cf}
.huangse{box-sizing:border-box;content:'';width:12px;height:12px;border-radius:50%;position:absolute;top:50%;margin-left:10px;margin-top:-6px;left:0;border-color:#61e1b9;border:3px solid #f5c745}
.hongse{box-sizing:border-box;content:'';width:12px;height:12px;border-radius:50%;position:absolute;top:50%;margin-left:10px;margin-top:-6px;left:0;border-color:#61e1b9;border:3px solid #f1787f}
2、在后台-菜单里设置,共有四个样式,任选其一即可!
<i class="lanse"></i> 首页
<i class="lvse"></i> 首页
<i class="huangse"></i> 首页
<i class="hongse"></i> 首页