Title: Hide div inside iframe
Last modified: September 23, 2016

---

# Hide div inside iframe

 *  Resolved [rakhi123](https://wordpress.org/support/users/rakhi123/)
 * (@rakhi123)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/)
 * I want to hide specific div inside iframe, I tried with admin setting and adding
   shortcodes also but its not reflecting, I am not able to hide particular div.
   I also followed documentation.
 * How can I do this ?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [rakhi123](https://wordpress.org/support/users/rakhi123/)
 * (@rakhi123)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8213874)
 * This is my shortcode I am using :
 * [advanced_iframe securitykey=”XXXXXXXXXXXXXXXXXX” src=”[http://www.nbnco.com.au&#8221](http://www.nbnco.com.au&#8221);
   width=”100%” height=”508″ id=”check_address” scrolling=”no” use_shortcode_attributes_only
   =”true” hide_elements=”#mainnavigation”]
 * What I am doing wrong here ?
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8217721)
 * How is your setup?
 * Because you are using the configuration for the same domain.
 * Best, Michael
 *  Thread Starter [rakhi123](https://wordpress.org/support/users/rakhi123/)
 * (@rakhi123)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8224656)
 * This is my site link srv11.mysmallbizwebhosting.com/~motiontel/ . here I want
   to integrate iframe and this is the shortcode I am using:-
 * [advanced_iframe securitykey=”XXXXXXXXXXXXXXXXXX” src=”http://www.nbnco.com.au”
   width=”100%” height=”508″ id=”check_address” scrolling=”no” use_shortcode_attributes_only
   =”true” hide_elements=”#mainnavigation”]
 * What you meant by configuration for same domain, from admin settings or shortcode.
 * Can I do this by free plugin.
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8225121)
 * You are using the configuration for the same domain that is not correct.
 * You are on different domains. To hide elements there you NEED to add one line
   of Javascript there and use the external workaround like described in the administration!!!!
   
   Hidding elements on an external domain is part of the pro version [http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications](http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications)
 * If you don’t have access you can use the “show only a part of the iframe” feature
   like shown here:
    [http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe](http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe)
 * Best, Michael
    -  This reply was modified 9 years, 8 months ago by [mdempfle](https://wordpress.org/support/users/mdempfle/).
 *  Thread Starter [rakhi123](https://wordpress.org/support/users/rakhi123/)
 * (@rakhi123)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8237466)
 * Hello,
 * I purchased this plugin.
    I also added one line of javascript “<script>document.
   domain=’XXXXXXXX.com’;</script>”
 * I also followed the step given in workaround in administration but still not 
   able to hide div inside iframe.
 * Please do needfull.
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8243207)
 * This is only the configuration for a sub domain!
    Please follow the instructions
   on this tab below the box!
 * Where you have to include the ai_external.js!
 * hide_elements=”#mainnavigation” is than NOT in the shortcode anymore! you need
   to set this directly in the administration that is saved to ai_external.js or
   you set this before you inlcude ai_external.js. See: [http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications](http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-auto-height-and-css-modifications)
   
   Best, Michael

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Hide div inside iframe’ is closed to new replies.

 * ![](https://ps.w.org/advanced-iframe/assets/icon-128x128.png?rev=1028488)
 * [Advanced iFrame](https://wordpress.org/plugins/advanced-iframe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-iframe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-iframe/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/hide-div-inside-iframe/#post-8243207)
 * Status: resolved