title: how can i Hide element of iframe in wordpress page template
body: <p>I am displaying the iframe in wordpress page template. In iframe src i have pased the external site url. The Problem is that i am not able to to hide the logout link in the iframe.
      I have tried the below mention code :-</p>
  
  <pre><code>frame = document.getElementById("toolkit-iframe");
  frame.document.getElementById("top-nav-links").style.display='none';
  
  OR 
  
  frame = document.getElementById("toolkit-iframe");
  frame.contentDocument.getElementById("top-nav-links").style.display='none';
  </code></pre>
  
  <p>I have not got any success to hide the link of logout. Can anybody can help me. i will be verymuch thankfull.</p>