主页 > 网站建设 > 建站知识 > dedecms列表分页样式css修改

dedecms列表分页样式css修改

POST TIME:2021-05-23 03:17

今天在使用DedeCms分页时,发现无法正确显示,查看了源码后发现分页是自带了li标签,找到源码修改,修改文件位置

/include/arc.listview.class.php和/include/arc.archives.class.php

把这两个文件的中的 <li> ,</li>和<li class=\&;thisclass\&;>全部删除。


<style type="text/css">

.g_page{ width:100%; overflow:hidden; height:22px; text-align:center; margin-top:10px;}
.g_page a{ display:inline-block; _display:inline; zoom:1; border:1px solid #ccc; height:20px; line-height:20px;   padding:0 5px;  margin:0 5px 0 0;}
.g_page .current{ text-decoration:none;}
</style>

 <div> {dede:pagelist listsize='2' listitem='info,index,end,pre,next,pageno'/} </dd>

 

</P></DIV>



收缩
  • 微信客服
  • 微信二维码
  • 电话咨询

  • 400-1100-266