WordPress极简博客 WordPress极简博客
  • 新鲜事
  • 战疫情
  • UI素材
    • UI素材
    • 电商/节日
    • PPT
      • 节日庆典
      • 工作汇报
      • 商业计划书
    • word
      • 简历竞聘
      • 合同/公文
  • 创客头条
    • 音乐分享
    • 初创文章
    • 极客头条
    • 生活趣事
    • 生活日记
    • 防骗指南
  • 编程教学
    • API日记
    • Linux安全栏目
      • Linux运维安全汇总
      • DDOS攻击防护
      • XSS攻击防护
      • SQL安全防护
    • Python技术栏目
      • Python基础入门
      • Python基础结构
    • WordPress技术栏目
      • WP主题
      • WordPress技术教程
      • RIPRO主题美化
    • WordPress漏洞发布
    • 技术教程汇总
    • 严选源码
  • 专题
  • 基友
  • 隐私
  • 注册
    登录
立即登录
  • 首页
  • 云优化
  • 新疫情
  • 新鲜事
    • 热文
    • 极客
    • 生活
  • 技术篇
    • WP主题
    • 技术教程
    • Python入门
    • Python基础
  • 专题篇
  • 友链君
首页 RIPRO主题美化 wordpress ripro主题 用户右上角下拉模块

wordpress ripro主题 用户右上角下拉模块

夏柔 12月 3, 2019
wordpress ripro主题 用户右上角下拉模块-WordPress极简博客
wordpress ripro主题 用户右上角下拉模块-WordPress极简博客

模块图片:
                   

白蓝玉 颜色  + 炫酷黑 颜色

本教程需要您认真阅读,以免不会设置等

教程开始:

[rihide]

下载 navbar.php 右边下载模块代码

打开 ripro主题路径

搜索 navbar.php

将下载好的navbar.php 文件全部替换

搜索diy.css

添加以下代码

//白色diy.css

/*.header__group_cats .header__cat{padding:20px 31px 20px 19px}
.header__group_cats .header__cat:after{content:'';position:absolute;top:50%;right:0;width:1px;height:38px;margin-top:-19px;background:#424242}*/
@media only screen and (max-width: 767px) {
    .header__group_cats .header__cat {
        display: none
    }
}

.header__group_cats .header__dropdown {
    border-top-right-radius: 8px;
    width: 262px
}

@media only screen and (max-width: 767px) {
    .header__group_cats .header__dropdown {
        top: 0;
        left: auto;
        right: 0;
        bottom: 0;
        width: 256px;
        overflow: auto
    }
}

.header__style_user .header__dropdown {
    left: inherit;
    right: -80px;
    border-radius: 8px;
    width: 400px;
}

.header__group_user .header__dropdown .header__link > a {
    color: #8495a0
}

.header__group_user .header__dropdown .header__link > a:hover {
    color: #fff
}

.header__group_user.active:before {
    content: none
}

.header__group_notify {
}

.header__group_notify .header__dropdown {
    border-radius: 8px;
    left: auto;
    right: -64px;
    width: 372px
}

.header__group.active .header__cat {
    background: #fff;
    box-shadow: 0 5px 0 0 #fff
}

.header__cat a {
    color: #fff;
}

.header__cat a:hover {
    color: #fff;
}

.header__cat .dian {
    background: #ff5780;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    right: 13px;
    top: 26px;
}

.header__group.active .header__cat:after {
    display: none
}

.header__group.active .header__title {
    color: #fff
}

.header__group.active .header__dropdown {
    display: block
}

.header__group_cart.active:before, .header__group_cart.active:after {
    content: none !important
}

.header__group_cart.active .header__cat {
    background: none;
    box-shadow: none
}

.header__group_shift .header__dropdown {
    border-top-right-radius: 8px;
    left: 0;
    right: auto;
    width: 664px
}

.header__group_shift.active::before {
    content: none
}

.header__group_shift .cards {
    margin: 0;
    padding: 20px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns:(302px) [2];
    grid-template-columns: repeat(2, 302px);
    grid-gap: 20px
}

.header__group_shift .cards .card {
    width: 302px
}

.header__group_shift .cards .card.liked .likes {
    opacity: 1;
    right: 10px;
    transition-delay: 0ms, 0ms
}

.header__group_shift .cards .card.liked .likes a {
    color: #fb6666
}

.header__group_shift .cards .card.liked .likes svg {
    animation: bounce 250ms ease
}

.header__group_shift .cards .card-wrapper {
    margin: 0
}

@media only screen and (max-width: 767px) {
    .header__group_user.active .header__cat {
        background: none;
        box-shadow: none
    }
}

@media only screen and (max-width: 767px) {
    .header__group_user.active .header__dropdown {
        display: none
    }
}

.header__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.header-box {
    color: #8495a0;
}

.header-box, .header__new {
    margin: 0 20px;
    padding: 15px 0;
}

.refresh-header-top {
    width: 100%;
}

.header-box {
    color: #8495a0;
}

.btn-cta-purple {
    position: relative;
    width: 75px;
    height: 28px;
    padding: 0 8px;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    line-height: 28px;
    border-radius: 14px;
    color: #fff;
    background-color: none;
    background-image: linear-gradient(to bottom, #fb68d5 0, #7865ff 100%);
    margin-right: 20px;
    cursor: pointer
}

.btn-cta-purple:hover {
    background-image: linear-gradient(to bottom, #ae68fb, #6652f3)
}

.header__new {
    border-bottom: 1px solid #202020;
    box-shadow: 0 1px 0 0 #353535;
    font-size: 14px;
    color: #fff
}

.header-box, .header__new {
    margin: 0 20px;
    padding: 15px 0
}

.header-box {
    color: #fff
}

.refresh-header-top {
    width: 100%;
}

.header-top {
    position: relative;
    padding-bottom: 10px;
    font-size: 9pt;
    color: #fff;
    border-bottom: 1px solid #34495e;
    box-shadow: 0 1px 0 0 #34495e
}

.header-top img {
    float: left;
    width: 45px;
    border-radius: 50%;
    margin-top: 2px;
    margin-right: 10px
}

.header-top .zuanshi {
    background: url(../img/header/zuanshi.svg) no-repeat center;
    width: 15px;
    height: 15px;
    display: -webkit-inline-box;
    background-size: contain;
    position: relative;
    top: 3px;
    cursor: pointer;
    margin-left: 5px
}

.header-top .zuanshi.is-vip {
    background: url(../img/header/zuanshi_vip.svg) no-repeat center;
    background-size: contain;
}

.header-top .fa-user-crown {
    color: #f3d60c;
    margin-left: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 3px;
}

.header-top .fa-user-crown.is-vip {
    color: #ff5780;
}

.header-top .logout {
    position: absolute;
    right: 0;
    top: 0;
    color: #8495a0;
}

.header-top .logout:hover {
    color: #fff;
}

.user-names {
    max-width: 100px;
    overflow: hidden;
    display: block;
    word-wrap: break-word;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    font-size: 14px;
}

.header-top .group-name {
    background: linear-gradient(90deg, #5850ee, #0674ec);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 10px
}

.header-top .group-name.vip-bg, .page-profile .inset-header .about-me .user-name small.badge.vip-bg {
    background: #ff5780;
}

.header-top .group-name.authors-bg, .page-profile .inset-header .about-me .user-name small.badge.authors-bg {
    background: #2aa461;
}

.header-top p {
    margin-top: 10px;
    font-size: 12px;
    color: #8495a0;
    cursor: pointer;
}

.header-center {
    display: flex;
    padding: 15px 0
}

.header-bottom, .header-center {
    position: relative
}

.header-center .md-l {
    float: left;
    width: 40%;
    border-radius: 6px;
    padding: 10px;
    margin-right: 15px;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(135deg, #5850ee, #5850ee), linear-gradient(-180deg, #5850ee 2%, #5850ee 98%);
    border: 2px transparent solid;
}

.header-center .md-l:hover {
    background-image: linear-gradient(135deg, #5850ee, #5850ee), linear-gradient(-180deg, #5850ee 2%, #5850ee 98%);
}

.header-center .md-tit {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px
}

.header-center .dou, .header-center .jinbi {
    display: block
}

.header-center .jinbi i {
    background: url(https://tp.riyuanma.com/svg/jinbi.svg) no-repeat center;
    background-size: cover;
}

.header-center .dou i, .header-center .jinbi i {
    width: 16px;
    height: 16px;
    display: -webkit-inline-box;
    position: relative;
    top: 4px;
    margin-right: 5px
}

.header-center .dou i {
    background: url(https://tp.riyuanma.com/svg/dou.svg) no-repeat center;
    background-size: cover;
}

.header-center .pay-credit {
    position: absolute;
    bottom: 25px;
    background: linear-gradient(-180deg, #399dff 2%, #297dcf 98%);
    padding: 1px 10px;
    border-radius: 20px
}

.header-center .pay-credit:hover {
    background: #399dff;
    color: #fff;
}

.header-center .md-r {
    float: left;
    width: 50%
}

.header-center .md-t {
    padding: 9px;
    margin-bottom: 5px;
    border-radius: 5px;
    position: relative;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(135deg, #5850ee, #5850ee), linear-gradient(-180deg, #5850ee 2%, #5850ee 98%);
    border: 2px transparent solid;
}

.header-center .md-t:hover {
    background-image: linear-gradient(135deg, #5850ee, #5850ee), linear-gradient(-180deg, #5850ee 2%, #5850ee 98%);
    color: #fff;
}

.header-center .md-t span {
    color: #fff;
    display: block;
    margin-bottom: 5px;
    font-size: 14px
}

.header-center .md-t p {
    font-size: 11px
}

.header-center .md-t a {
    position: absolute;
    right: 10px;
    top: 5px;
    background: linear-gradient(-180deg, #3fc67c 2%, #2aa461 98%);
    padding: 1px 10px;
    border-radius: 20px
}

.header-center .md-t a:hover {
    background: #2aa461;
    color: #fff;
}

.header-center .md-b {
    padding: 9px;
    position: relative;
    border-radius: 6px;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(135deg, #5850ee, #5850ee), linear-gradient(-180deg, #5850ee 2%, #5850ee 98%);
    border: 2px transparent solid;
}

.header-center .md-b:hover {
    background-image: linear-gradient(135deg, #5850ee, #5850ee), linear-gradient(-180deg, #5850ee 2%, #5850ee 98%);
    color: #fff;
}

.header-center .md-b span {
    color: #fff;
    padding-bottom: 5px;
    display: block;
    font-size: 14px
}

.header-center .md-b p {
    font-size: 11px
}

.header-center .md-b a {
    position: absolute;
    right: 10px;
    top: 5px;
    background: linear-gradient(to bottom, #fb68d5 0, #7865ff 100%);
    padding: 1px 10px;
    border-radius: 20px
}

.header-center .md-b a:hover {
    background-image: linear-gradient(to bottom, #ae68fb, #6652f3);
}

.header-bottom .my-home {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.header-bottom ul {
    padding: 1px;
    display: flex;
    text-align: center;
    margin: auto;
}

.header-bottom li {
    float: left;
    width: 20%;
    cursor: pointer;
}

.header-bottom li i {
    background-color: #fff;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 5px;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat
}

.header-bottom li i:hover {
    background-color: #242424;
}

.header-bottom li i.ico_1 {
    background-image: url(https://tp.riyuanma.com/svg/shoucang.svg)
}

.header-bottom li i.ico_2 {
    background-image: url(https://tp.riyuanma.com/svg/xiangmu.svg)
}

.header-bottom li i.ico_3 {
    background-image: url(https://tp.riyuanma.com/svg/anquan.svg)
}

.header-bottom li i.ico_4 {
    background-image: url(https://tp.riyuanma.com/svg/dingdan.svg)
}

.header-bottom li i.ico_5 {
    background-image: url(https://tp.riyuanma.com/svg/xiazai.svg)
}

.header__custom .icon.max {
    font-size: 18px;
}

.header-top p {
    margin-top: 10px;
    font-size: 12px;
    color: #8495a0;
    cursor: pointer;
}

.header-dropdown {
    font-size: 12px;
}

.header-center p {
    margin: auto;
}

.header-top p {
    margin: auto;
}

.header__cat {
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* height: 68px; */
    padding-left: 10px;
    border-radius: 8px 8px 0 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    padding-top: 0;
}

.wp-yooxi, .wp-mianfei1 {
    font-size: 26px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    text-align: center;
    color: #ffc107;
}

.entry-footer a {
    line-height: inherit !important;
}

.posts-wrapper .wp {
    font-size: 20px !important;
}

.wp-VIP {
    margin-left: 10px;
    color: #e8b10a;
    font-size: 14px !important
    ;
}




// 黑色diy.css
/*.header__group_cats .header__cat{padding:20px 31px 20px 19px}
.header__group_cats .header__cat:after{content:'';position:absolute;top:50%;right:0;width:1px;height:38px;margin-top:-19px;background:#424242}*/
@media only screen and (max-width: 767px){.header__group_cats .header__cat{display:none}
}
.header__group_cats .header__dropdown{border-top-right-radius:8px;width:262px}
@media only screen and (max-width: 767px){.header__group_cats .header__dropdown{top:0;left:auto;right:0;bottom:0;width:256px;overflow:auto}
}
.header__style_user .header__dropdown {
    left: inherit;
    right: -80px;
    border-radius: 8px;
    width: 400px;
}
.header__group_user .header__dropdown .header__link > a{color:#8495a0}
.header__group_user .header__dropdown .header__link > a:hover{color:#fff}
.header__group_user.active:before{content:none}
.header__group_notify{}
.header__group_notify .header__dropdown{border-radius:8px;left:auto;right:-64px;width:372px}

.header__group.active .header__cat{background:#2c2c2c;box-shadow:0 5px 0 0 #2c2c2c}
.header__cat a{color: #adb7be;}
.header__cat a:hover{color: #fff;}
.header__cat .dian{background: #ff5780;width: 7px;height: 7px;border-radius: 50%;position: absolute;right: 13px;top: 26px;}
.header__group.active .header__cat:after{display:none}
.header__group.active .header__title{color:#fff}
.header__group.active .header__dropdown{display:block}
.header__group_cart.active:before,.header__group_cart.active:after{content:none !important}
.header__group_cart.active .header__cat{background:none;box-shadow:none}

.header__group_shift .header__dropdown {
    border-top-right-radius: 8px;
    left: 0;
    right: auto;
    width: 664px
}

.header__group_shift.active::before {
    content: none
}
.header__group_shift .cards {
    margin: 0;
    padding: 20px;
    display: -ms-grid;
    display: grid;
-ms-grid-columns:(302px)[2];
    grid-template-columns: repeat(2, 302px);
    grid-gap: 20px
}
.header__group_shift .cards .card {
    width: 302px
}
.header__group_shift .cards .card.liked .likes {
    opacity: 1;
    right: 10px;
    transition-delay: 0ms, 0ms
}
.header__group_shift .cards .card.liked .likes a {
    color: #fb6666
}
.header__group_shift .cards .card.liked .likes svg {
    animation: bounce 250ms ease
}
.header__group_shift .cards .card-wrapper {
    margin: 0
}

@media only screen and (max-width: 767px){.header__group_user.active .header__cat{background:none;box-shadow:none}
}
@media only screen and (max-width: 767px){.header__group_user.active .header__dropdown{display:none}
}

.header__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    background: #2c2c2c;
    border-radius: 0 0 8px 8px;
}

.header-box {
    color: #8495a0;
}

.header-box, .header__new {
    margin: 0 20px;
    padding: 15px 0;
}

.refresh-header-top {
    width: 100%;
}

.header-box {
    color: #8495a0;
}

.btn-cta-purple {
    position: relative;
    width: 75px;
    height: 28px;
    padding: 0 8px;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    line-height: 28px;
    border-radius: 14px;
    color: #fff;
    background-color: none;
    background-image: linear-gradient(to bottom,#fb68d5 0,#7865ff 100%);
    margin-right: 20px;
    cursor: pointer
}

.btn-cta-purple:hover {
    background-image: linear-gradient(to bottom,#ae68fb,#6652f3)
}


.header__new {
    border-bottom: 1px solid #202020;
    box-shadow: 0 1px 0 0 #353535;
    font-size: 14px;
    color: #fff
}

.header-box,.header__new {
    margin: 0 20px;
    padding: 15px 0
}

.header-box {
    color: #8495a0
}
.refresh-header-top{
    width: 100%;
}
.header-top {
    position: relative;
    padding-bottom: 10px;
    font-size: 9pt;
    color: #fff;
    border-bottom: 1px solid #202020;
    box-shadow: 0 1px 0 0 #353535
}

.header-top img {
    float: left;
    width: 45px;
    border-radius: 50%;
    margin-top: 2px;
    margin-right: 10px
}

.header-top .zuanshi {
    background: url(../img/header/zuanshi.svg) no-repeat center;
    width: 15px;
    height: 15px;
    display: -webkit-inline-box;
    background-size: contain;
    position: relative;
    top: 3px;
    cursor: pointer;
    margin-left: 5px
}
.header-top .zuanshi.is-vip{
    background: url(../img/header/zuanshi_vip.svg) no-repeat center;
    background-size: contain;
}
.header-top .fa-user-crown{
  color: #f3d60c;
    margin-left: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 3px;
}
.header-top .fa-user-crown.is-vip{
    color: #ff5780;
}

.header-top .logout {
    position: absolute;
    right: 0;
    top: 0;
    color: #8495a0;
}
.header-top .logout:hover {
    color: #fff;
}

.user-names{
    max-width: 100px;
    overflow: hidden;
    display: block;
    word-wrap: break-word;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    font-size: 14px;
}

.header-top .group-name {
    background: #484848;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 10px
}

.header-top .group-name.vip-bg, .page-profile .inset-header .about-me .user-name small.badge.vip-bg {
    background: #ff5780;
}

.header-top .group-name.authors-bg, .page-profile .inset-header .about-me .user-name small.badge.authors-bg {
    background: #2aa461;
}

.header-top p {
    margin-top: 10px;
    font-size:12px;
    color: #8495a0;
    cursor: pointer;
}

.header-center {
    display: flex;
    padding: 15px 0
}

.header-bottom,.header-center {
    position: relative
}

.header-center .md-l {
    float: left;
    width: 40%;
    border-radius: 6px;
    padding: 10px;
    margin-right: 15px;
    background-clip:padding-box,border-box;
    background-origin:padding-box,border-box;
    background-image:linear-gradient(135deg,#3c3c3c,#3c3c3c), linear-gradient(-180deg, #3c3c3c 2%, #3c3c3c 98%);
    border:2px transparent solid;

}
.header-center .md-l:hover{
    background-image:linear-gradient(135deg,#3c3c3c,#3c3c3c), linear-gradient(-180deg, #399dff 2%, #297dcf 98%);
}
.header-center .md-tit {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px
}

.header-center .dou,.header-center .jinbi {
    display: block
}

.header-center .jinbi i {
    background: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/jinbi.svg) no-repeat center;
    background-size: cover;
}

.header-center .dou i,.header-center .jinbi i {
    width: 16px;
    height: 16px;
    display: -webkit-inline-box;
    position: relative;
    top: 4px;
    margin-right: 5px
}

.header-center .dou i {
    background: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/dou.svg) no-repeat center;
    background-size: cover;
}

.header-center .pay-credit {
    position: absolute;
    bottom: 25px;
    background: linear-gradient(-180deg, #399dff 2%, #297dcf 98%);
    padding: 1px 10px;
    border-radius: 20px
}

.header-center .pay-credit:hover {
    background: #399dff;
    color: #fff;
}

.header-center .md-r {
    float: left;
    width: 50%
}

.header-center .md-t {
    padding: 9px;
    margin-bottom: 5px;
    border-radius: 5px;
    position: relative;
    background-clip:padding-box,border-box;
    background-origin:padding-box,border-box;
    background-image:linear-gradient(135deg,#3c3c3c,#3c3c3c), linear-gradient(-180deg, #3c3c3c 2%, #3c3c3c 98%);
    border:2px transparent solid;

}
.header-center .md-t:hover{
    background-image:linear-gradient(135deg,#3c3c3c,#3c3c3c), linear-gradient(-180deg, #3fc67c 2%, #2aa461 98%);
    color: #fff;

}
.header-center .md-t span {
    color: #fff;
    display: block;
    margin-bottom: 5px;
    font-size: 14px
}

.header-center .md-t p {
    font-size: 11px
}

.header-center .md-t a {
    position: absolute;
    right: 10px;
    top: 5px;
    background: linear-gradient(-180deg, #3fc67c 2%, #2aa461 98%);
    padding: 1px 10px;
    border-radius: 20px
}
.header-center .md-t a:hover {
    background: #2aa461;
    color: #fff;
}
.header-center .md-b {
    padding: 9px;
    position: relative;
    border-radius: 6px;
    background-clip:padding-box,border-box;
    background-origin:padding-box,border-box;
    background-image:linear-gradient(135deg,#3c3c3c,#3c3c3c), linear-gradient(-180deg, #3c3c3c 2%, #3c3c3c 98%);
    border:2px transparent solid;

}
.header-center .md-b:hover {
    background-image:linear-gradient(135deg,#3c3c3c,#3c3c3c), linear-gradient(-180deg, #fb68d5 2%, #7865ff 98%);
    color: #fff;

}
.header-center .md-b span {
    color: #fff;
    padding-bottom: 5px;
    display: block;
    font-size: 14px
}

.header-center .md-b p {
    font-size: 11px
}

.header-center .md-b a {
    position: absolute;
    right: 10px;
    top: 5px;
    background: linear-gradient(to bottom,#fb68d5 0,#7865ff 100%);
    padding: 1px 10px;
    border-radius: 20px
}

.header-center .md-b a:hover {
    background-image: linear-gradient(to bottom,#ae68fb,#6652f3);
}

.header-bottom .my-home {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.header-bottom ul {
      padding: 1px;
    display: flex;
    text-align: center;
    margin: auto;
}

.header-bottom li {
    float: left;
    width: 20%;
    cursor: pointer;
}

.header-bottom li i {
    background-color: #353535;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 5px;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat
}

.header-bottom li i:hover{
    background-color: #242424;
}

.header-bottom li i.ico_1 {
    background-image: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/shoucang.svg)
}

.header-bottom li i.ico_2 {
    background-image: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/xiangmu.svg)
}

.header-bottom li i.ico_3 {
    background-image: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/anquan.svg)
}

.header-bottom li i.ico_4 {
    background-image: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/dingdan.svg)
}

.header-bottom li i.ico_5 {
    background-image: url(http://www.meigongyun.com/template/iscwo_u8/iscwo/new/img/header/xiazai.svg)
}


.header__custom .icon.max {
    font-size: 18px;
}

.header-top p {
    margin-top: 10px;
    font-size: 12px;
    color: #8495a0;
    cursor: pointer;
}

.header-dropdown{
font-size:12px;
}

.header-center p {

    margin: auto;
}


.header-top p {

    margin: auto;
}

.header__cat {
box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

上面的代码一定要区分好!分别是黑色 + 白色的css

最后一步将底下的代码添加到 后台 - 底部设置 - 设置JS代码

<script type="text/javascript">

jQuery(document).ready(function($){

$('.ct h3 span').click(function(){

$(this).addClass("selected").siblings().removeClass();

  $('.ct > ul').eq($(this).index()).addClass('show');
 $('.ct > ul').eq($(this).index()).siblings().removeClass('show');
});
 $("pre > code").addClass("language-php");
});

	jQuery(".header-dropdown").hover(function() {
		jQuery(this).addClass('active');
	}, function() {
		jQuery(this).removeClass('active');
	});


</script>

大功告成

[/rihide]

#RIPRO#wordpress#wordpress美化
0
J2dcg1.png
猜你喜欢
  • Nginx添加跨域限制规则
  • 使用测速脚本对国内Linux服务器进行测速
  • 域名爆破之自动化信息收集脚本
  • 利用免费接口实现国家开放大学刷网课脚本
  • RiProV2定制导航条
  • 判断是否在微信浏览器打开
  • 微信内自动播放音频非百度方案
  • 利用veImageX加速您的网站,想不快都难!
  • SWAPIDC减少注册信息及防刷注册量教学
  • Python实现定时发送每日早报及生活指数
29 5月, 2020
人社部、国务院扶贫办部署实施“6+1”劳务协作行动
夏柔
站长
夏山如碧 - 怀柔天下
1725
文章
25
评论
58145K
获赞
版权声明

文章采用创作共用版权 CC BY-NC-ND/2.5/CN 许可协议,与本站观点无关。

如果您认为本文侵犯了您的版权信息,请与我们联系修正或删除。
投诉邮箱wpsite@aliyun.com

栏目推荐
Python基础入门33
WordPress技术教程267
前沿技术情报所22
城市创新——新消费11
最近有哪些不可错过的热文23
程序员的养生之道0
节
春
  • 新鲜事
  • 疫情实况
  • UI素材
  • 技术教程
  • 音乐分享
  • 专题
  • 友情
  • 隐私
  • 云优化
Copyright © 2019-2025 WordPress极简博客. Designed by 夏柔. 辽公网安备21010502000474号 辽ICP备19017037号-2