内容搜索Webpart的间距并更改模板 [英] Content Search Webpart spacing and change the template
问题描述
使用内容搜索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屋!