SharePoint 2013 处置Promoted Links类型的List下的Tiles View的默认Webpart展示方式

SharePoint 2013 处理Promoted Links类型的List下的Tiles View的默认Webpart展示方式
问题:
为了去掉Photo Gallery的水平滚动效果,更改为根据内容进行自适应宽度多行显示效果
Promoter link --> photo gallery
Not horizontal scroll the photo
 
解决方式:
1、编辑状态下(Edit Page)添加内容编辑器部件(Content Editor)
2、为编辑器内容编写以下jQuery脚本内容:
1 <script type="text/javascript">
2 $(function(){
3   $('.ms-promlink-header').hide();
4   $('.ms-promlink-body').width('100%');
5 });
6 </script>
 
默认展示方式:
SharePoint 2013 处置Promoted Links类型的List下的Tiles View的默认Webpart展示方式
 
修改后的展示方式:
SharePoint 2013 处置Promoted Links类型的List下的Tiles View的默认Webpart展示方式