在首页模板添加友情链接,注意在最后一个div标签的前面添加以下代码:
.links {margin: 30px 0;} .links ul { box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 12%); border-radius: 20px; padding: 30px; overflow: hidden;} .links ul li { display: inline-block;} .links ul li a { color: #666; display: block; padding: 10px 20px; border: #ede9e9 1px solid; border-radius: 5px;margin: 0 10px 5px 0;} .links ul li:hover a { color: #35bb8c;} @media only screen and (max-width: 640px) { .links ul { padding: 10px;border-radius: 10px;} .links ul li a { padding: 3px 5px; font-size: 12px; margin: 2px; border: none;} }友情链接[e:loop={'select lurl,lname from [!db.pre!]enewslink where checked=1 order by myorder',20,24,0}]
- <a href="https://www.ip3q.com/jiaocheng/" target="_blank">
[/e:loop]
如图所示:
以上就是关于帝国cms使用教程中"《青灯古卷》首页模板添加友情链接"的全部内容,如果有遇到帝国cms使用教程其他问题的,可以在评论留言,或者加微信咨询。
© 版权声明
THE END
暂无评论内容