Forum Discussion
How to edit Sharepoint website code?
Deleted
I´m not a 100% sure I understand your requirement, but here some stuff you might find useful:
- If you are using the modern experience, take a look at https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/using-page-placeholder-with-extensions. PnP provides a lot of samples here: https://github.com/SharePoint/sp-dev-fx-extensions
- If you´re using a classic site, there is a possibility to inject scripts on a page using Script Editor Web Part or better, Custom Actions.
All techniques mentioned require a fair amount of coding experience and it all depends on what changes you need to do.
Regards,
Maggan
- AnonymousApr 04, 2019
Maggan Wåhlin Thanks! Can I edit it via the console using F12? If I make the change needed there, I see it in real time, but I can't figure out where to save the changes. Also, I am not sure where the sharepoint site saves by default. Could you help me with that? The only way I see to access it, is via a web browser, I don't see where I can even access the code and make changes and then insert the new code.
- Maggan WåhlinApr 05, 2019Iron Contributor
Deleted
It is possible to make changes to the SharePoint GUI through SPFx Extensions or SharePoint Themes, as I described earlier. You cannot save changes from the developer tool bar, that is only for testing during development.
- AnonymousApr 05, 2019
Maggan Wåhlin Okay. I created a virtual and installed sql and sharepoint 2016 on there. Is there a way to export the site created on Office 365 and import it into SharePoint 2016? Or will I have to create everything from scratch using IIS and all?
- AnonymousApr 04, 2019
Maggan Wåhlin Attached is a snap shot of the only settings I see. Maybe this will help point me in the right direction. Also, as you can see in the picture, the background is visible across the entire page. This is the way I want my homepage to look. If I edit it through F12, it is Root 79 then transparent as the background color.
- AnonymousApr 04, 2019
Maggan Wåhlin Thanks! I just need to change one part and that is to make the entire home page background transparent. We have an Office 365 subscription, so sharepoint is the version that is online. I can't seem to figure out how to export the site to visual studio or just edit the code on the web browser. I hit F12 and can find the code and even change it, but cannot seem to get it to save.
- Maggan WåhlinApr 04, 2019Iron Contributor
Deleted It´s not possible to export a SharePoint site to VS, and you cannot save changes for the developer tool (F12). Design changes (colors, fonts) can be made using https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview. A theme can be easily applied through PowerShell. However, I´m not sure you can make the background transparent though.