Forum Discussion
Deleted
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 ...
Maggan Wåhlin
Apr 04, 2019Iron Contributor
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 SharePoint Framework 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
Deleted
Apr 04, 2019Maggan 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.
- DeletedApr 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?
- Beau CameronApr 05, 2019MVP
Deleted You will not be able to do that, They are different versions of SharePoint.
I think you may want to slow down a bit before trying to make any modifications. It seems you may not be 100% familiar with how SharePoint is built or how to customize it. There are lots of branding guidelines provided by Microsoft on what you can and can't do to customize SharePoint.
As previously mentioned, if you are in classic mode, it's 100% possible to change the background to be more transparent or make other customization's using alternate css. However, if you are in Modern UX, you aren't able to do those customization. -- What you see is what you get. While it is possible to use SPFx extensions to override out of the box styles, this is not recommend and prone to failure.
- DeletedApr 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.