Hiding post buttons

Is it possible to control the visibility of the buttons below a topic? I refer specifically to:

I’ve been able to hide the buttons within the post:

Using:

But do similar settings exist for the the buttons identified above?

2 Likes

You can use CSS to do it.

1 Like

CSS examples:

// Hide topic buttons
// Assign
#topic-footer-button-assign {
	display: none;
}

// Defer
#topic-footer-button-defer {
	display: none;
}

// Flag
#topic-footer-button-flag {
	display: none;
}

// Bookmark
#topic-footer-button-bookmark {
	display: none;
}

// Share
#topic-footer-button-share-and-invite {
	display: none;
}

or

// Hide main buttons at once but Follow
#topic-footer-buttons .topic-footer-main-buttons {
	display: none;
}

or

// Hide all buttons, incl. Follow
#topic-footer-buttons {
	display: none;
}

To apply this code to external themes, you need to fork original Github repo, reinstall theme using your repo URL, apply this code to your repo (desktop.scss etc) commit changes and update theme in Discourse.

2 Likes