有没有办法通过使用SharePoint Online的网站设计获得Top横幅 [英] Is there any way to have Top banner by using the site design for SharePoint Online

查看:76
本文介绍了有没有办法通过使用SharePoint Online的网站设计获得Top横幅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我要求在创建SharePoint在线站点(团队站点)时在顶部设置横幅图像。


我知道通过使用网站设计,我可以应用网站徽标,应用主题,但没有可用于横幅的操作。


那么有没有办法获得顶部横幅图片通过使用网站设计或任何其他方式来实现这一目标?


谢谢 

解决方案

您好,


对于Modern UI,我们可以创建SharePoint Framework扩展并使用Application Customizer中的页面占位符来实现它。


以下文章供你参考。


https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/using-page-placeholder-with-extensions


https://blog.pixelmill.com/3322/add-image-custom-header-footer-modern-page/


如果你使用经典UI,我们可以为母版页添加一些CSS样式来实现它。喜欢下面的风格。

< style> 
#s4-titlerow {
background:url('/ sites / team / SiteAssets / Image.JPG')repeat-x 0px 0px;
}
< / style>

最好的问候,


丹尼斯


Hi All,

I have a requirement to have a banner image at Top when you create a SharePoint online Site(Team site).

I know by using site design I can apply site logo, apply theme, but there is no Action available for banner.

So is there any way to have a Top banner image via using Site Design or any other way to achieve this?

Thanks 

解决方案

Hi,

For the Modern UI, we can create a SharePoint Framework Extension and use page placeholders from Application Customizer to achieve it.

The following articles for your reference.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/using-page-placeholder-with-extensions

https://blog.pixelmill.com/3322/add-image-custom-header-footer-modern-page/

If you use Classic UI, we can add some CSS style to master page to achieve it. Like the style below.

<style>
#s4-titlerow {
    background:url('/sites/team/SiteAssets/Image.JPG') repeat-x 0px 0px;
}
</style>

Best Regards,

Dennis


这篇关于有没有办法通过使用SharePoint Online的网站设计获得Top横幅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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