设置Chevereto V4 顶部菜单栏/导航栏为透明/毛玻璃风格

发布于 / 折腾 / 0 条评论

打开/content/legacy/themes/Peafowl/lib/peafowl.min.css

修改完后记得刷新缓存

毛玻璃

搜索

.top-bar::before,.top-sub-bar::before{width:100%;

在末尾添加

background-color: rgba(0, 0, 0, 0);

最终这样的

.top-bar::before,.top-sub-bar::before{width:100%;height:calc(100% + .5px);position:absolute;content:" "; background-color: rgba(0, 0, 0, 0);}

全透明 这个情况下建议背景和LOGO得好好设计

将下方属性删除

height:calc(100% + .5px);

最终结果为

.top-bar::before,.top-sub-bar::before{width:100%;position:absolute;content:" ";}
CAPTCHAis initialing...
Not Comment Found