Hide share / invite buttons on post pages

I know that it is possible to hide the buttons: like - share - flag - etc in de post menu.
But I want also to change/hide these buttons at the bottom of these pages.

Is that possible ?

Sure! In Admin -> Customize, add a CSS rule with this code:

#topic-footer-main-buttons .share.btn {
    display: none;
}
3 Likes

Great thanks!
Last question, and how about the invite button ? I cant find the proper ccs code ?

That’s more tricky. Because the button has no unique class, there’s no way to hide it specifically – but the following code hides the fourth button, which just happens to be the invite button in the current Discourse version :wink:

#topic-footer-main-buttons button:nth-child(4) {
    display: none;
}
4 Likes