RIPRO主题美化-首页“最新文章”标题美化
步骤:
1、找到/wp-content/themes/ripro/parts/home-mode/lastpost.php并找到以下代码
1 |
<span class="token operator"><</span>h3 <span class="token keyword keyword-class">class</span><span class="token operator">=</span><span class="token double-quoted-string string">"section-title"</span><span class="token operator">></span><span class="token operator"><</span>span<span class="token operator">></span><span class="token operator"><</span>i <span class="token keyword keyword-class">class</span><span class="token operator">=</span><span class="token double-quoted-string string">"fa fa-list-alt"</span><span class="token operator">></span><span class="token operator"><</span><span class="token operator">/</span>i<span class="token operator">></span> 最新文章<span class="token operator"><</span><span class="token operator">/</span>span<span class="token operator">></span><span class="token operator"><</span><span class="token operator">/</span>h3<span class="token operator">></span> |
并将附件内的lastpost.php内容整体复制替换以上代码即可
2、找到wp-content/themes/ripro/assets/css/diy.css并将附件内的diy.css内容整体复制进去并保存
效果预览:
声明:本站大部分文章为原创,部分为网络转载,如若本站内容侵犯了原著者的合法权益,请联系我们处理。