Title: iFrame Background color
Last modified: August 31, 2016

---

# iFrame Background color

 *  Resolved [ldeschenes](https://wordpress.org/support/users/ldeschenes/)
 * (@ldeschenes)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/iframe-background-color/)
 * Hi Thom,
 * Thanks for the great plugin.
 * I have a 2 questions about
    1) iFrame Background color 2) Admin menu bar in iFrame
 * I created a page using “File Away iFrame” Template and inserted that page using“
   File Away iFrame” shortcode.
 * 1) It does work fine but it looks like the page inherit of the color of the site
   background (green in my case) instead of the page content backgound color (white
   in my case).
    So,the iFrame has green bars on top and bottom of the “File Away
   directory table”. These green bars on white background go away and come back 
   on refresh. Looks bad, seems to flick. See [http://lelaurier.net/finance-historique/](http://lelaurier.net/finance-historique/)
 * 2) Also, in Admin mode, the Admin bar is shown at the top of the Frame.
 * Is there a way to
    1) Make the Background white (page content)? 2) Hide the Admin
   bar?
 * Could I do that myself or does it required a change to the “File Away iFrame”
   Template code in the plugin?
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

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

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/iframe-background-color/#post-7346112)
 * The iframe template will appear properly in most themes. Some themes do things
   differently and it’s not possible for me to anticipate every possibility in the
   template. You’ll have to play around with the template.
 *  Thread Starter [ldeschenes](https://wordpress.org/support/users/ldeschenes/)
 * (@ldeschenes)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/iframe-background-color/#post-7346185)
 * Thom,
 * Thanks for the quick answer.
    That is what I suspected.
 * By playing around with the template I guess you means modifying file-away-iframe-
   template.php. I am not good at coding PHP. Any idea of what changes I should 
   make ?
 *  Thread Starter [ldeschenes](https://wordpress.org/support/users/ldeschenes/)
 * (@ldeschenes)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/iframe-background-color/#post-7346324)
 * Found a solution:
 * I use a plugin call “Simple CSS”.
    This plugin adds a CSS metabox to add CSS 
   on specific pages and posts. I added the code below to the CSS on my iFrame page.
   It works fine now.
 * body { background-color: #FFFFFF; }
    .inside-article { background-color: #FFFFFF;}#
   wpadminbar { display:none; }

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

The topic ‘iFrame Background color’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ldeschenes](https://wordpress.org/support/users/ldeschenes/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/iframe-background-color/#post-7346324)
 * Status: resolved