WordPress-CorePress主题模仿Mac主题样式

前言

很多朋友觉得默认的主题样式不是那么好看,其实大家可以通过自定义,对主题进行微调。

本次果核给大家分享如何给侧边栏标题修改成Mac风格,以及修改主题的圆角。使得界面看起来更圆润

效果

实现代码

:root {
    --border-hd: 10px !important;
}
body header {
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 5%);
}
.post-list-page-plane {
    background-color: #fff;
}
body .widget-title {
    border-bottom: none;
}
.friend-links {
    overflow: hidden;
}
body .widget-title:before {
    width: 12px;
    height: 12px;
    transform: none;
    background: #fc625d;
    border-radius: 50%;
    top: 10px;
}
body .widget-title:after {
    background-color: #fdbc40;
    width: 12px;
    height: 12px;
    transform: none;
    border-radius: 50%;
    left: 20px;
    top: 10px;
}

body .widget-title {
    padding-left: 40px;
}
.widget-admin-author-contact-item-icon {
    border-bottom-left-radius:2px!important;
}

 使用方法

在CorePress主题设置,插入代码中的自定义CSS中插入代码即可。

版权声明:
作者:爱记录
链接:https://www.stelnet.cn/72.html
来源:爱记录
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
WordPress-CorePress主题模仿Mac主题样式
前言 很多朋友觉得默认的主题样式不是那么好看,其实大家可以通过自定义,对主题进行微调。 本次果核给大家分享如何给侧边栏标题修改成Mac风格,以及修改主题……
<<上一篇
下一篇>>