RIPRO主題美化-整站側邊欄跟隨導航條強化版

RIPRO主題美化-整站側邊欄跟隨導航條強化版

Table of Contents

步驟:

1、找到/wp-content/themes/ripro/footer.php目錄,

在footer.php搜索

1
<div class=”rollbar>

復制附件里的footer.php將代碼覆蓋掉以下原版代碼

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="rollbar">
<?php if (_cao('site_kefu_qq')) : ?>
<div class="rollbar-item tap-qq" etap="tap-qq"><a target="_blank" title="QQ咨詢" href="http://wpa.qq.com/msgrd?v=3&uin=<?php%20echo%20_cao('site_kefu_qq');?>&site=qq&menu=yes" rel="external nofollow" ><i class="fa fa-qq"></i></a></div>
<?php endif; ?>
 
<div class="rollbar-item" etap="to_full" title="全屏頁面"><i class="fa fa-arrows-alt"></i></div>
<?php if (_cao('is_ripro_dark_btn')) : ?>
<div class="rollbar-item tap-dark" etap="tap-dark" title="切換模式"><i class="mdi mdi-brightness-4"></i></div>
<?php endif; ?>
<div class="rollbar-item" etap="to_top" title="返回頂部"><i class="fa fa-angle-up"></i></div>
</div>
<style type="text/css">
.icon {
width: 1em; height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
</style>

并修改附件里面的”80027422″為您的客服qq號(根據自己站點的內容修改文字及連接)

2、找到/wp-content/themes/ripro/assets/css/diy.css

并將附件內的div.css內容整體復制到最下面并保存

效果預覽:

RIPRO主題美化-整站側邊欄跟隨導航條強化版

原文地址:https://www.zhankr.net/363.html