[Resolved] Iframe + element

Home Forums Support Iframe + element

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #457864
    Marcin

    Hi,
    I added iframe on my website and I want to hide the title (Intro programu Minął Tydzień.mp4) by means of line hr(60px). Unfortunetly, line hr doesn’t hide frame, but frame hides line hr.
    See: https://marcinszkodzinski.pl/przykladowa-strona/

    GP Premium 1.5.6
    #457975
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using a plugin to add the iframe link?

    It’s adding a bunch of style for you such as:

    .preview-header-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 0;
        line-height: 0;
        background-color: #fcfcfc;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        border-bottom: 1px solid #E8E8E8;
    }
    #457985
    Marcin

    I using Box Embed Widget.

    https://community.box.com/t5/How-To-Guides-for-Sharing/Box-Embed-Widget/ta-p/19719

    I think you need to edit the selector “iframe”.

    This code doesn’t work.

    #458100
    Leo
    Staff
    Customer Support

    I didn’t give you any code.

    The code above was added by the plugin you are using which is causing the problem.

    Have you checked with their support?

    #458295
    Marcin

    I using Box. Box is not a plugin, it’s cloud storage. I added to Box a film and now I want to add iframe to my website.

    Unfortunetly, I embed film with file title. I want to hide the title by means of line hr. It’s all.

    I tried to change transparency, z-index… It’s still bad.

    PS

    I talked to the support. The only way out is editing selector “iframe”.

    #458437
    Leo
    Staff
    Customer Support

    Hmm this gets rid of the title but not the container:

    .preview-header-wrapper {
        display: none;
    }

    I tried a few methods but couldn’t remove the container

    Their support should have a way to edit this as it isn’t a GP problem.

    #458546
    Marcin

    Leo, I tried again and I found a solution.

    Firstly, I added:

    hr{
    	height: 60px;
    	margin-bottom: -60px;
    	background: #fff

    Next, I added:

    iframe{
    	position: absolute;
    		z-index: -1
    }

    Thank you for your time.

    #458825
    Leo
    Staff
    Customer Support

    Glad you found the solution 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.