SharePoint Online-通信站点 - 脚本编辑器将更改应用于所有页面 [英] SharePoint Online-Communication Site- Script Editor apply changes to all pages
问题描述
我正在使用SPFX脚本编辑器在主页页眉上进行颜色更改。现在,当我访问SharePoint网站中的其他页面时,如网站内容,我看不到应用于标题的更改。
I am using a SPFX Script Editor to make color changes on the Header of the Home Page. Now, when I visit other pages in the SharePoint site like-Site Contents, I don't see the changes applied to the header.
我如何确保更改是否适用于整个网站?是否可以在通讯网站上编辑母版页?
How can I ensure that the changes are applied across the site? Is it possible to edit the master page on the Communication site?
推荐答案
嗨Ricky,
您必须在脚本编辑器Web部件中使用CSS ,此 仅适用于包含此脚本编辑器Web部件的当前页面,并且不会在其子页面上应用
。
为了实现这一目标,您需要使用 SharePoint框架( cc,js)
请参考以下链接,
希望这有帮助......
Hope this helps...
-------------------------------------------- -------------------------------------------------- -----------
请不要忘记"标记回复作为答案 "
如果他们帮助,还设置"喜欢",这对我们来说是一个促进博客$ b的推动力$ b J
Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging J
点击 此处 到
了解详情。访问专用的 社区
论坛跨度> 跨度> 强>&NBSP;至&的共享下,&的探索强>&NBSP;和&NBSP; <强烈的>谈话,向有关Microsoft Kaizala的专家发表。
Click here to learn more. Visit the dedicated Community forum to share, explore and talk to experts about Microsoft Kaizala.
这篇关于SharePoint Online-通信站点 - 脚本编辑器将更改应用于所有页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!