Hi
Is it possible to hide a weglot-button on specific page using css?
Thx.
Luc
Hi
Is it possible to hide a weglot-button on specific page using css?
Thx.
Luc
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?
<style>
.weglot-container.wg-default {
display: none;
}
</style>
Alternatively (same but in the custom code footer of the page settings)
<script>
window.addEventListener("load", function() {
var weglotContainer = document.querySelector(".weglot-container.wg-default");
weglotContainer.style.display = "none";
});
</script>
Thanks for your tip.
I solved it by adding the following after the embed code: