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
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
Thanks so much. That worked for mobile but now on desktop the video appears cut off at the bottom
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
Ah yes the other css for mobile was closed off so didnt recognise the code properly – all fixed thank you :-)