Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #952279

    Hello,

    If you look at https://www.cnmdev1.com/team/ – you’ll see that the youtube video height doesn’t match the height of the right grid row box and there is a gap of white space below the Youtube video. How do I set this up so this gap / space doesn’t exist? Should I not use the Grid Row or is there a setting I’ve messed up?

    Thanks!

    #952321

    well you can answer the question yourself. ( on stretched layout – otherwise we could work with % values)
    Your video has an aspect ratio of 16:9 and your grid cell has a width of 50% of videoscreenwidth called : 50vw ?
    what if the height of grid-row is 28.13vw ( 50×9/16)

    see here: https://webers-testseite.de/mimic/

    the fatal thing is the setting of grid-row to display as table-cell !

    so in my case it is for that page:

    .page-id-32038 #av-layout-grid-1 {
        height: 28.13vw !important;
       display: inline-flex !important
    }

    the only thing now to decide is when should this break back to table-cell – that depends on the amount of content in your right cell !

    f.e:

    @media only screen and (max-width: 768px){
    .page-id-32038 #av-layout-grid-1 {
    height: inherit !important;
    display: inline-block !important;
    }
    }
    #952387

    I added that code to the Quick CSS section under general styling and nothing changed. How do I make the right box height match the height of the left box that contains the video?

    #952389

    and you did that for your page-id ?

    page-id-948

    • This reply was modified 6 years, 9 months ago by Guenni007.
    #952391

    I tried both. On your example page there is still a gap at the bottom they don’t line up.

    #952396

    ?

    yes maybe you try 28.11vw

    and sorry that is indeed better:

    #952399

    after break you can add:

    @media only screen and (max-width: 768px) {
    .avia-video, .avia-iframe-wrap {
        margin-bottom: 0 !important;
    }
    }


    to have no gap between these fields

    #952482

    I added that code to the custom css section and it didn’t change anything. I made the background of the left column yellow so it’s easier to see. I also noticed there is a small white gap between the grid row and the color section. How do you get rid of that gap?

    #952523

    change the code to
    maybe it is necessary to set it to important

    .page-id-948 #av-layout-grid-1 {
        height: 28.12vw !important;
        display: inline-flex !important;
        vertical-align: top;
    }
    #952703

    This is still not working. I don’t understand what is controlling the height of the column on the right. I made a brand new grid row, removed all padding and settings and when I add a video on the left side, the right side is taller even without any content. It seems your video wrapper / iframe is adding something extra??

    Please help.

    #952766

    on wider screens it is ok now isn’t it ?
    you erased the rule for smaler screens when hamburger menu starts to work:

    @media only screen and (max-width: 768px){
    .page-id-948 #av-layout-grid-1 {
    height: inherit !important;
    display: inline-block !important;
    }
    }
    #952774

    did you delete all caching infos (browser too)
    see the video on the bottom of my testpage: https://webers-testseite.de/mimic/

    that is the behavior when the mediaquerie rule is added and i look to the different screensizes

    #952779

    https://gyazo.com/148f789995d619463d3112140d2008f3 – I’m showing the gap still exists on that URL you provided me as well. I just loaded Firefox and tried to access my site and the gap is still there. I’ve never gotten it to work. It seems there is some extra padding added to the iframe for some reason.

    #952858

    on every browser i got ( safari, chrome, firefox, safari developer version, opera ) it is ok – and you see on the screen film that it works on all browsers except on the microsoft crap ! Sorry – but the whole internet history they have this “special position” under all other browser.
    If you like to include a browser specific fix – the html got the class: avia-edge

    the height on that will be 27.75vw
    but it is not the whole screen distances constant.

    here ends my support on this topic.

    Go and play with good browsers. This has a reason: https://de.statista.com/statistik/daten/studie/157944/umfrage/marktanteile-der-browser-bei-der-internetnutzung-weltweit-seit-2009/

    #952886

    I’m using Chrome and Firefox to check this. I’ve also loaded it on other computers that have never viewed this site and the gap is still there. The gap is still there on your /mimic folder of your site as well. What is the URL you are recording your video from b/c it’s obviously not /mimic

    #953108

    Hi,

    This css code should help.

    .avia-video-16-9, .js_active .avia-iframe-wrap, .avia-video-16-9 iframe {
        height: 100% !important;
    }

    Best regards,
    Ismael

    #953156

    Ismael,

    Thanks for replying. I added the code you suggested and it didn’t seem to change anything. I then removed the code that Guenni had suggested ( but left yours ) and am still getting the same problem.

    I made the background color yellow so it’s easier to see than the white. Any other suggestions?

    https://www.cnmdev1.com/team

    • This reply was modified 6 years, 9 months ago by bradwbowman.
    #953907

    Hi bradwbowman,

    Best regards,
    Victoria

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