Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

345
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!