Why does my video background disappear on the products page?

Topic summary

A Shopify store owner encountered an issue where a video background displays correctly on the homepage (https://c1e46d.myshopify.com/) but disappears when navigating to the products/collections page (https://c1e46d.myshopify.com/collections/all).

Root Cause:
PageFly support identified that the homepage contains a background element while the collections page does not have the same structure.

Solution Provided:
PageFly-Victor supplied custom CSS code to be added to the base.css file, which:

  • Positions the video background element absolutely with full width/height coverage
  • Sets appropriate z-index layering

Follow-up Issue:
After implementing the initial fix, the video background appeared but wasn’t positioned behind the products. Black boxes surrounded product images.

Final Resolution:
Additional CSS code was provided to make the product card backgrounds transparent (background:transparent!important), allowing the video background to show through properly behind the product grid.

The solution involved editing theme code files directly through Shopify’s Online Store > Theme > Edit code interface.

Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

On desktop the video background only shows when the website link is https://c1e46d.myshopify.com/

when i click on another page and go back to products page the link turns to https://c1e46d.myshopify.com/collections/all and the video background no longer shows. How do i fix this?

SHOP URL:

FILE LINK FOR BACKGROUND VIDEO: https://cdn.shopify.com/videos/c/o/v/a6b893c4a8074546995efbc8baf87ed9.mp4

@PageFly-Richard

Hi [email removed]Suoshie,

You can check the structure of the two pages. Because the home page has a background element and the collection is not.

You can see my screenshot

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly

1 Like

Thanks for letting me know, i have now added the video background to the products page however the background is not behind the products, instead it is seperated. How can i make the background behind the products?

SHOP URL: https://c1e46d.myshopify.com/collections/all

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

#shopify-section-template--18097696407868__fc3575a4-ac1c-401c-ac44-da22e970f091{
position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly

1 Like

It works but how do i remove / make transparent the black boxes around my products images?

you can add my code

.card__inner.color-background-2.gradient.ratio{background:transparent!important}

1 Like