How to remove padding above Video iFrame?

Hi there - can anyone help me remove the padding above the two embedded videos on this page please? Any help would be greatly appreciated!

https://paulrangiwahia.com/pages/hauora-in-schools-awards

2 Likes

Hi @PaulRangiwahia
You can add this code on your css files
.video-wrapper {

position: absolute;
top: 0;
width: 100%;
height: 100%;
}

I see its a theme.css files where you need to add this code.

Cheers

Thanks @Ajay2265 - where exactly do I need to add it in the code? Sorry I’m not overly technical!

HI @PaulRangiwahia ,

I understand that you want to remove the padding on top of your videos. You can follow the instructions below to do so.

  1. From your Admin page, go to Online store > Themes > click the three dots > Edit code
  2. Find the Asset folder, and open the theme.css file
  3. Add the code below at the very end of the file
#MainContent > div > div > div > div.rte > div:nth-child(6) > div, #MainContent > div > div > div > div.rte > div:nth-child(8) > div {
    padding: 0 !important;
}

See result below:

1 Like

Hi @PaulRangiwahia
You need to go to the theme > edit code > assets > theme.css
And add your code at the end of the file.

1 Like

Thanks much!

1 Like

Thank you so much!