• Resolved barryglick

    (@barryglick)


    Michael,

    I am having trouble creating a border for the Advanced iframe. I’ve tried it from the admin panel, giving it a 5px border, but it does not show up. I’ve tried it using Frameborder=” “. Does not work.

    I tried creating a style with style=”border: 5px solid red;” putting this inside the square brackets of the advanced iframe. Did not work.

    I tried creating a class with class=”aborder” then using CSS as follows:

    .aborder {
    border: 5px solid red;
    }

    But this didn’t work either.

    Maybe I don’t understand how to use it, but the only way I can get a border to show around my advanced iframe is to use a div:

    <div style=”border: 5px solid red;”>iframe</div>

    Tell me, first, am I supposed to be able to add a border to the iFrame. Maybe I misunderstood this, and this is not a feature of advanced iframe. If I truly can add a border, can you help me to do it? Thanks!

    Barry

    https://www.ads-software.com/plugins/advanced-iframe/

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

    (@mdempfle)

    Do you use the “show only part of the iframe feature”?
    Because than the border is around the iframe but it is now visible because you cut out an area.
    If this is the case you need to add the border to
    #ai-div-example1 if you id is example1

    #ai-div-example1 {
    border: 5px solid red;
    }

    Best, Michael

    Thread Starter barryglick

    (@barryglick)

    Yes, it was “show only part of the iframe feature,” and I was able to do it with a div, so thanks!

    Barry

    Plugin Author mdempfle

    (@mdempfle)

    Hi. I will also add an option in the next release where you can set the style for this div…

    Best, Michael

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Frame Border?’ is closed to new replies.