Web部件切片间距问题

时间:2018-07-23 09:31:43

标签: sharepoint web-parts

我有一个Webpart,其中包含12个磁贴,并且在一个大行中(带有向左和向右移动的箭头)。

我希望它们作为3跨4向下...我相信这是SharePoint 365/2016。抱歉,自2013年以来未使用SP ...所以不知道这是否有可能。

**更新**

嵌入代码时,我输入:

<style>
/*display rows of 3 items*/
.ms-promlink-body {
  width: 480px;
}
/*hide the arrows when you have more items than viewable*/
.ms-promlink-header{
display:none;
}
</style>

这在编辑器中完成了我想要的...保存时去了。我检查“ EDIT SNIPPET”并得到:

<style unselectable="on">
</style>

有什么想法可以使它正常工作吗?#

更新 这些网站帮助: https://social.technet.microsoft.com/wiki/contents/articles/26522.sharepoint-2013-promoted-links-change-size-wrap-view-handle-click-event-using-jquery.aspx

http://www.balestra.be/2014/04/easy-way-display-promoted-links-tiles-multiple-rows.html