Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1477950

    Hi there

    I have a 2 column row with text in one and a code block with a facebook video in the other. I have tried making the row settings individual height and equal height but on mobile the video column shows with a large gap at the bottom (as I have them in a colour section that is grey)

    is there any way to remove the gap at the bottom on the 2nd on mobile? Its the “What is True Love?” section

    #1477990

    Hey xfacta,

    Thank you for the inquiry.

    You can add this css code to limit the height of the embedded video.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      #top .flex_column.av-6x5rog-a89aa535bbb4f44ff97f6d467f65c8b1 .avia_codeblock iframe {
        height: 200px;
        margin-bottom: -50px;
      }
    }

    Best regards,
    Ismael

    #1477993

    Thanks so much. That worked for mobile but now on desktop the video appears cut off at the bottom

    #1478025

    Hi,

    Thanks for the update. Are you sure that you copied the whole snippet that Ismael posted? It should only apply to mobile screens, but it applying to desktop sizes as well on your site.

    Best regards,
    Rikard

    #1478051

    Ah yes the other css for mobile was closed off so didnt recognise the code properly – all fixed thank you :-)

    #1478077

    Hi,

    Great! Glad it’s fixed. Let us know if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Gap at bottom of 2 column row on mobile’ is closed to new replies.