1

I am working with HubSites in modern SP. On a communication site (registered as hub), I wanted to see if there is a way to hide the links that appears on the top right, see screenshot below.

enter image description here

I already have a modern script editor web part in use so if someone could share the CSS to hide these links that would be great. FYI, I am looking to hide Following/not following, share site and next steps links/buttons.

Thanks in advance.

0

The following CSS style for your reference.

<style>
div[class^='sideActionsWrapper-']{
    display:none !important;
}
</style>

enter image description here

  • Just tested, but the snippet does not work, it does not hide the buttons/links. – mdevm Jul 31 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.