I have a modern communication site inside our SharePoint Online tenant, and we want to do the following modification to our top navigation area:-
- Add a clickable button on the top-right corner >> and when users click on this an external link will open.
Here is what we need to build (The Green button):-
So can anyone advice how we can achieve the above?
Thanks
Create SharePoint framework Extension - Application Customizer. Add button with jQuery or pure JavaScript.
Be aware that in this solution if Microsoft change layout or classnames it can affect result.
I am using On premises SharePoint 2019 (modern design) and I am changing that part with this code: