Hi, can anyone help me to remove the video paddings on the sides (right left ) and also make the video in its original size? the top and bottom are cut ![]()
Topic summary
A user seeks help removing left and right padding from a video element and displaying it at its original aspect ratio, as the current implementation crops the top and bottom.
Three solutions were provided:
-
BSS-TekLabs: Add custom CSS code in the
theme.liquidfile before the</head>tag -
Moeed: Insert code in
theme.liquidabove the</body>tag -
Made4uo-Ribe: Add CSS targeting the specific video section wrapper (
section#shopify-section-template-...) to the theme’s main CSS file (main.css, base.css, style.css, or theme.css) withpadding: 0;
All three responders included screenshots showing the expected result after applying their solutions. The issue remains unresolved as the original poster has not confirmed which solution worked or marked any as accepted.
- Here is the solution for you
- Please follow these steps:
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before and press ‘Save’ to save it
- Here is the result you will achieve:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
Hey @Daniel19901
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @Daniel19901
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
section#shopify-section-template--23680920748380__video_background_KfmnDQ .wrapper {
padding: 0;
}
And save.
result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!



