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 curtidas

You can use CSS to do it.

1 curtida

Exemplos de CSS:

// Ocultar botões de tópico
// Atribuir
#topic-footer-button-assign {
	display: none;
}

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

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

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

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

ou

// Ocultar botões principais de uma vez, mas seguir
#topic-footer-buttons .topic-footer-main-buttons {
	display: none;
}

ou

// Ocultar todos os botões, incluindo Seguir
#topic-footer-buttons {
	display: none;
}

Para aplicar este código a temas externos, você precisa fazer um fork do repositório original do Github, reinstalar o tema usando a URL do seu repositório, aplicar este código ao seu repositório (desktop.scss etc.), confirmar as alterações e atualizar o tema no Discourse.

2 curtidas