Hiding the weglot-button


Is it possible to hide a weglot-button on specific page using css?



Hi Luc,
Can you share a public page where the weglot button appears?


Can you try this code, in the custom code header of the page settings?

.weglot-container.wg-default {
  display: none;

Alternatively (same but in the custom code footer of the page settings)

window.addEventListener("load", function() {
  var weglotContainer = document.querySelector(".weglot-container.wg-default");
  weglotContainer.style.display = "none";

Thanks for your tip.

I solved it by adding the following after the embed code:

1 Like