子比主题美化-子比评论区添加贴图+ID

子比评论区添加一个好看的二次元贴图,然后在贴图的左边添加用户ID

图片展示

图片[1]-子比主题美化-子比评论区添加贴图+ID-执笔博客

教程开始

首先把上面这段代码放到/wp-content/themes/zibll/functions.php

/*网站评论美化*/
.bili-dyn-item__ornament {
    position: sticky;
    /*right: 48px;*/
    top: 18px;
    margin-top: -10px;
    float: right;
}
.bili-dyn-ornament__type--3 {
    height: 44px;
    width: 146px;
}
.bili-dyn-ornament img {
    height: 100%;
    width: 100%;
}
.bili-dyn-ornament__type--3 span {
    font-family: num !important;
    font-size: 12px;
    position: absolute;
    right: 54px;
    top: 15px;
    transform: scale(.88);
    transform-origin: right;
}
  @font-face {
                font-family: num;
                src: url('data:font/ttf;base64,AAEAAAAKAIAAAwAgT1MvMlfu6qkAAACsAAAAYGNtYXAZKRS8AAABDAAAAVpnbHlmPpOLigAAAmgAAAI0aGVhZA1ca6UAAAScAAAANmhoZWEGkALDAAAE1AAAACRobXR4JmQFBgAABPgAAAA4bG9jYQPqA14AAAUwAAAAHm1heHAAEgAOAAAFUAAAACBuYW1ly5ItMwAABXAAAAagcG9zdADLALIAAAwQAAAAPgAEAvQBkAAFAAgCAAIAAAAAAAIAAgAAAAIAADMBCQAAAgEGBAAAAAAAAIAAAAEQAAAAAAAAAAAAAABKQkhHAEAALgBPA3D/NAB0A3AAzAAEAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAAAAABUAAMAAQAAABwABAA4AAAACgAIAAIAAgAuADkAT/////8AAAAuADAATv//////0//S/74AAQABAAAAAAAAAAAAAAAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAIDBAUGBwgJCgsAAAAAAAAAAAAAAAAAAAAAAAAAAAwNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AFEAbABTAPgADQAKAHcAdwB3AC4AcgBlAGUAagBpAC4AYwBvAG0ADQAKAFEAUQA6ADIANwA3ADAAOAA1ADEANwAzADMADQAKAE0AYQBpAGwAOgBSAGUAZQBqAGkAZgBvAG4AdABAAG8AdQB0AGwAbwBvAGsALgBjAG8AbQACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAARABMAFAAVABYAFwAYABkAGgAbABwAMQAyAAA=');
            }
/*手机适配*/
@media (max-width: 420px){
.bili-dyn-ornament__type--3 {
    width: 11rem !important;
}
}

把上面这段代码放到子比后台-自定义css即可

注意

如果出现一下乱码

图片[2]-子比主题美化-子比评论区添加贴图+ID-执笔博客

请把以下代码填进主题文件的functions.php上面,<?php下面

代码不要乱动,少一个或者动一个代码都会导致前台访问不了,上面提供的这些直接填进去即可使用,能使用就不要再自己乱动,出任何问题自己处理

温馨提示:本文最后更新于2024-05-06 16:43:05,某些文章具有时效性,若有错误或已失效,请在下方留言或联系执笔
© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享
子比主题美化-子比评论区添加贴图+ID-执笔博客
子比主题美化-子比评论区添加贴图+ID
此内容为付费阅读,请付费后查看
执币5
立即购买
您当前未登录!建议登陆后购买,可保存购买订单
付费阅读
已售 1
评论 抢沙发

请登录后发表评论

    暂无评论内容