当前位置:首页>WordPress>网站美化>7b2美化圈子顶部添加文字滚动通知

7b2美化圈子顶部添加文字滚动通知

示例图:

打开7b2目录主题的TempParts/circle/circle-form.php文件.

搜索代码:

class="circle-top"

在此代码上面添加下方的文字滚动通知代码:

<style>
    .xt_notice {
        background: #FFF;
        line-height: 30px;
        padding: 5px 16px;
        border-radius: 4px;
    }
    .xt_notice-content {
        flex: 1;
        overflow: hidden;
    }
    .xt_notice-content span {
        display: block;
        width: 1300px;
        white-space: nowrap;
        animation: marquee 15s linear infinite;
        padding-left: 100%;
        padding-right: 90%;
    }
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
</style>
<div class="xt_notice wrapper" style="margin-bottom: 10px;"><span style="float: left;margin-right: 5px;">通知:</span>
        <div class="xt_notice-content"><span>通知的内容</span></div>
</div>

部分文章/资源来源于网络,文章标题下部均已标注来源,如有侵权,请点击此处联系客服进行删除,本站将会在第一时间内进行处理! 

如果您要搬运本站文章,请在文章底部标注。侵删请致信:663829289@qq.com

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系本站进行处理。

图床支持:https://space.simao58.cn/

如果文章帮助到您,还请您点击一下广告支持本站一下!

给TA打赏
共{{data.count}}人
人已打赏
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索

Warning: error_log(/www/wwwroot/ailketop.com/wp-content/plugins/spider-analyser/#log/log-2607.txt): failed to open stream: No such file or directory in /www/wwwroot/ailketop.com/wp-content/plugins/spider-analyser/spider.class.php on line 3014