花晨月夕
专注web开发,可开发网站、小程序、app、oa、erp等各种系统
2020-08-01 12:43:52
主题配置-其它配置-自定义css
.widget .entry-media{display:none}
.cao-widget-posts .posts .left {padding: 10px 0 5px 10px;padding-left: 22px;position: relative;border-bottom:none}
.cao-widget-posts .posts .num{position: absolute;left: 2px;font-weight: 600;}
.cao-widget-posts .posts .left a{height:auto;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.cao-widget-posts .posts .left:nth-child(1) .num{color:#F44336;}
.cao-widget-posts .posts .left:nth-child(2) .num{color:#4CAF50;}
.cao-widget-posts .posts .left:nth-child(3) .num{color:#FFC107;}
.cao-widget-posts .posts .left:nth-child(4) .num{color:#00BCD4;}
.cao-widget-posts .posts .left:nth-child(5) .num{color:#2196F3;}
.cao-widget-posts .posts .left:nth-child(6) .num{color:#E91E63;}
.cao-widget-posts .posts .left:nth-child(7) .num{color:#34495e;}
.cao-widget-posts .posts .left:nth-child(8) .num{color:#f4e3ab;}网站设置-版权说明
<script>$('#hotposts .left').each(function(k){$(this).prepend('<span class="num">'+(++k)+'</span>')});$('#relatedpost .left').each(function(k){$(this).prepend('<span class="num">'+(++k)+'</span>')});</script>效果图:

2020-07-02 10:08:22
2020-06-22 10:30:34
.navbar li ul li>a {
padding: 9px 5px;
}主题配置 - 其它配置 - 自定义css,复制到里面
2020-06-17 14:08:54
<script>$('.pay-box .download').click(function(){if ($(this).siblings('.pwd').length && $(this).next().text() == '提取密码:'){$('head').append('<style id="swal2tmphide">.swal2-container{display:none}</style>');$(this).next().children('input').click();alert('复制成功');$('.swal2-container,#swal2tmphide').remove()}})</script>2020-06-16 10:03:00
<script>$(".entry-tipss:contains(SVIP专属)").remove()</script>把代码放网站版权里,隐藏什么,中间文字就输入什么



未来N个月