• Resolved ldeschenes

    (@ldeschenes)


    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/

    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://ww.wp.xz.cn/plugins/file-away/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thomstark

    (@thomstark)

    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

    (@ldeschenes)

    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

    (@ldeschenes)

    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.