Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

347
Visualizações
How to hide a js div with css

I am trying to remove the "powered by tagembed" text and image .

hide(document.querySelectorAll('.poweredbywrapper'));

function hide(elements) {
  elements = elements.length ? elements : [elements];
  for (var index = 0; index < elements.length - 1; index++) {
    elements[index].style.display = 'none';
  }
}
.poweredbywrapper img,
.poweredbywrapper span {
  visibility: hidden;
}
<div class="tagembed-container" style=" width:100%;height:500px;overflow: auto;">
  <div class="tagembed-socialwall" data-wall-id="11530" view-url="https://widget.tagembed.com/11530?view"> </div>
  <script src="//widget.tagembed.com/embed.min.js" type="text/javascript"></script>
</div>

and other classes but its not working

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

Try this CSS property. Does it worked?

.poweredbywrapper img, .poweredbywrapper span {
    visibility: hidden;
 }

a) The display: none rule removes an element from an HTML document. While the code for the hidden element is still present, the element itself will not be displayed.

b) The visibility: hidden rule, on the other hand, hides an element, but the element will still take up space on the web page. If you want to hide an element but keep that element’s space on the web page, using the visibility: hidden; rule is best.

Follow this another link for hiding a js div element.

Show/hide 'div' using JavaScript

about 4 years ago · Juan Pablo Isaza Relatório

0

You need to actually have the class that you try to hide:

<div class="tagembed-container poweredbywrapper" style=" width:100%;height:500px;overflow: auto;"><div class="tagembed-socialwall" data-wall-id="11530" view-url="https://widget.tagembed.com/11530?view">  </div> <script src="//widget.tagembed.com/embed.min.js" type="text/javascript"></script></div>
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda