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.

1 Answer 1

0

The following CSS style for your reference.

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

enter image description here

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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