内容搜索Webpart的间距并更改模板 [英] Content Search Webpart spacing and change the template

查看:64
本文介绍了内容搜索Webpart的间距并更改模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用内容搜索Web部件时,列表项间距会分散开.您如何缩小尺寸.例如,我将显示模板控件"用作列表",页面"和项目"为两行.  我需要为此编辑模板吗?你也有 在线有任何模板或示例吗?谢谢

When using content search webpart the list item spacing is spread out. How do you make it smaller. For example I'm using the display template Control as List with Paging and Item as two lines.  Do I need to edit the template for this? Also do you have any templates or examples online?  Thanks


推荐答案

是的,您必须为此编辑显示模板.这里有很棒的收藏

Yes you would have to edit the display template for this. There's a great collection here

https://github.com/SPCSR/DisplayTemplates

https://github.com/SPCSR/DisplayTemplates

虽然可能没有确切的示例,但它会引导您正确的方向.

While it might not have exact example it shall guide you in right direction.

谢谢


这篇关于内容搜索Webpart的间距并更改模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆