WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Add an inside border to Fancybox (4 posts)

  1. greenterri
    Member
    Posted 11 months ago #

    I could not figure out how to add an inside border inside the iframe other than putting the border directly around the content within the html code. This is not optimal for us because of screen size. It is beautiful on my screen, with scrolling, however on my partners much larger screen the iframe is much longer than the content, without scrolling, and the border stops at the end of the last paragraph of the content. See here:
    http://emarketwebdraft3.com/group-benefits/
    Click on either of the first 5 links in the sidebar to see the popups. You will see the popup with the border around the content. Is there a way to do this exact same thing but put the border on the iframe so if it is longer than the content the border would appear the full length of the iframe as seen according to screen size.

    http://wordpress.org/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 11 months ago #

    You could move the border to the body tag:

    <body style="border: double #024c97; padding: 20px 20px;">
    ...
    </body>
  3. greenterri
    Member
    Posted 11 months ago #

    Thanks but that did not work due to how we have the page set up. In order to not show the header area and footer area of the page I used Just The Page Widget which strips all that out. I am currently using the div tag: <div style="border: double #024c97; padding: 20px 20px;">

    This seems to be the only tag it is not stripping. Any other ideas? Any way to put it in the Easy Fancybox settings?

  4. RavanH
    Member
    Plugin Author

    Posted 11 months ago #

    What about something like

    <div style="border: double #024c97; padding: 20px 20px; width 100%; height: 100%">

    ?

Reply

You must log in to post.

About this Plugin

About this Topic