Remove space above video

Hi, can anyone help me remove the white space above my banner video? without effecting other pages as well.
Tried this, but it effects the whole website

main#main { margin-top: 0 !important; }

Password: sasa

Hi @Daniel19901 ,

Hi

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before
{% if template == 'index' %}

{% endif %}

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Hey @Daniel19901

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% if template == 'index' %}

{% endif %}

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Daniel19901 ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Add this code before tag:

{% if template == 'index' %}

{% endif %}

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

Hi @Daniel19901
Please use this CSS. I hope that will resolve the space issue.

.template-index main#main {
margin-top: 0 !important;

}