Forum Discussion
Anonymous
Apr 04, 2019How to edit Sharepoint website code?
Our organization uses office 365. I created a Intranet site through Sharepoint and want to make some changes, but need to do it in the HTML code. When I inspect the code, I can see where the line is ...
Christophe Humbert
Apr 05, 2019Iron Contributor
Rajkiran_Swain I don't think the information you provide is correct. The OP is using modern pages and the master page gallery has no effect on them. SharePoint Designer cannot be used either.
Deleted as others have said, you need to review the Microsoft documentation and in particular how to insert scripts or change themes. You might have to do things differently to adapt to the Office 365 context. This is not standard html or aspx editing.
Rajkiran_Swain
Apr 05, 2019Copper Contributor
ohh. I am really sorry . I forgot that ,you are using Modern SharePoint experience.
Can you please check the below link, It maybe help you.
https://tahoeninjas.blog/2018/10/29/update-inject-custom-css-on-sharepoint-modern-pages-using-spfx-application-extensions/