本篇文章记录模板兔主题自定义修改的记录:
/*隐藏banner调用文章的标题*/
.slider-right22 .item h3 {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 10px;
margin: 0;
font-size: 16px;
color: #fff;
text-align: left;
font-weight: normal;
text-shadow: 0 1px 3px #525252;
box-sizing: border-box;
background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
background: -o-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
background: linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
letter-spacing: 1.2px;
border-radius: 0 0 var(--theme-radius) var(--theme-radius);
display: none;
}
/*将二级菜单的宽度调大*/
.nav-main > li.mega2 > .sub-menu {
min-width: 500px;
padding: 15px 6px;
line-height: 30px;
}
/*替换首页公告的图标*/
.banner-notices ul {
height: 60px;
background: url(https://www.nicewp.cc/wp-content/uploads/2023/11/megaphone-3.png) no-repeat left center;
padding-left: 50px;
line-height: 60px;
overflow: hidden;
font-size: 14px;
}
/*给首页banner增加底部边距*/
.banner h2 {
margin-bottom: 30px;
}
AD:晚高峰稳定 4K 的 IPLC 机场 解锁各流媒体 支持月付 © 版权声明
破解产品仅供参考学习,不提供技术支持,如有需求,建议购买正版!如果源码侵犯了您的利益请留言告知!
THE END
暂无评论内容