WordPress添加滚动统计小模块

WordPress添加滚动统计小模块

在主题设置—》自定义CSS样式添加下面的CSS代码:

/*统计小模块*/
.widget_Websitestat h3{font-weight:700;}.widgest-boys{overflow:hidden;}.widgest-boys .widgest-bg{margin: 4px; background-size: cover; background-repeat: no-repeat; background-position: center center; cursor: pointer; border-radius: 8px;}.widgest-boys .widgest-main{align-items: center; place-content: flex-start space-around; display: flex;}.widgest-boys .widgest-meat{display: block; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; color: rgb(255, 255, 255); font-weight: 700 !important; line-height: 1.5 !important;}.widgest-bg:not(article){transition: all 0.3s;}.widgest-bg:not(article):hover{transform: translateX(-10px);}

把上面的代码放到wp后台–>小工具–>自定义html–>需要的栏目

样式一

图片[1]-WordPress添加滚动统计小模块-乡野博文

代码

样式二

图片[2]-WordPress添加滚动统计小模块-乡野博文

代码

温馨提示:本文最后更新于2022-05-12 08:02:52,某些文章具有时效性,若有错误或已失效,请在下方留言或联系乡野博文
您阅读这篇文章共花了: 0小时00分00秒
-----本页内容已结束,喜欢请分享!-----
© 版权声明
THE END
喜欢本站内容,请点【点赞】【分享】和【收藏】~
点赞13 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容