当前位置:首页原创文章7b2美化-手机首页十小格

7b2美化-手机首页十小格

 

直接在B2设置-模块管理-首页模块内添加自定义HTML代码。然后把下面代码贴入保存即可。

<div class="mrxu_link"><dl>
<dd class="xu_link_1"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_2"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_3"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_4"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_5"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_6"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_7"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_8"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_9"><a href="#"><i></i><p>链接自行更改</p></a></dd>
<dd class="xu_link_10"><a href="#"><i></i><p>链接自行更改</p></a></dd>
</dl></div>
<style>
   /*手机导航开始Jitheme.com极主题*/
   .mrxu_link {
    	padding: 5px;
    }
    .mrxu_lin1k dl {
    	box-shadow: 1px 1px 1px #e7f4ff;
    	border-radius: 12px;
    	background-color: #fff;
    	margin-top: 10px;
    	margin-bottom: 10px;
    }
    .mrxu_link dl dd {
    	display: inline-block;
    	width: 18.5%;
    	margin-bottom: 10px;
    	margin-top: 10px;
    }
    .mrxu_link dl dd a {
    	display: block;
    }
    .mrxu_link dl dd a i {
    	display: block;
    	width: 30px;
    	height: 30px;
    	margin: 0 auto 5px;
    }
    .mrxu_link dl dd a p {
    	height: 20px;
    	line-height: 20px;
    	font-size: 12px;
    	color: #666;
    	text-align: center;
    	overflow: hidden;
    }
    .mrxu_link dl dd.xu_link_1 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_2 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_3 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_4 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_5 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_6 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_7 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_8 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_9 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
    .mrxu_link dl dd.xu_link_10 i {
    	background: url(https://7b2.jitheme.com/wp-content/uploads/2022/06/2022061402372087.svg) center no-repeat;
    	background-size: 30px;
    }
.justify a img{
        float: left;
}
.load-more.box-in.box.b2-radius.mg-t {
    background: none;
}
.post-list .load-more .post-load-button {
    width: auto;
    border: 0;
    transition: all .3s;
    padding: 12px 40px;
    font-size: 15px;
    letter-spacing: .5px;
    background-color: var(--primary-color);
    background-image: -webkit-gradient(linear, left top, right top, from(#121212), to(#121212));
    background-image: -webkit-linear-gradient(left, #121212, #121212);
    background-image: -o-linear-gradient(left, #121212 0, #121212 100%);
    background-image: linear-gradient(90deg, #121212, #121212);
    -webkit-box-shadow: 0 5px 10px 0 rgba(16, 110, 253, .3);
    box-shadow: 0 5px 10px 0 rgba(16, 110, 253, .3);
    color: #fff!important;
}
/*手机导航结束*/        
</style>

给TA赞助
共{{data.count}}人
人已赞助
B2美化WP教程原创文章

给文章增加一个有作者的版权信息

2023-4-11 17:57:48

原创文章

主题或者子主题如何调用iconfont图标库

2023-4-17 17:56:42

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
购物车
优惠劵
有新私信 私信列表
搜索