How can i remove the black border from my video background section in Dawn Theme on mobile view

Topic summary

A user is experiencing an issue with a custom video uploaded to the video slideshow section in the Dawn theme. The video displays with unwanted black borders when viewed on mobile devices.

A PageFly representative offered a solution involving:

  • Navigating to Online Store → Theme → Edit code
  • Opening the theme.liquid file
  • Pasting custom CSS/markup code before the closing tag

The response appears to be partially corrupted or encoded, making the complete technical solution difficult to verify. The issue remains focused on removing black borders from video backgrounds specifically in mobile view.

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

Hello people,

I’m creating my website and I uploaded a video of my own in the video slideshow section, but what happened is that the video has a black border in the mobile view, is there any solution to it?

I have attached this screenshot for your preview

Hi @shortsman ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea for solution:

Step 1. Go to Online Store → Theme → Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before :


Hope my answer will help you.

Best regards,

Victor | PageFly

1 Like