Hi, I am editing a video background banner for my website.
As shown in the picture above, I set the video’s width to 70%. Because, when it’s 100%, then the size of the video on the actual website looks different. The top and bottom are cut a bit. Anyway, when I reduce the width to 70%, the position of the video is on the left, not the center. I wanted to move it to the center, so I added code { margin: auto;}. it worked perfectly. It moves the video to the center. But at the same time, I have another problem. Even though I moved the video to the center, the margin blank is white. I want to change it’s color. According to Google, I can’t change the color of the margin, right?
Here is my question: How can I move that video to the center and then change the color in the blank?
Hi @SHK I have looked into your store and 100% width video is looking good, If you need to color your margin you can add the background color property on the section and it will solve your issue.
If you can publish your changes on the site then I can provide you the exact code that will work for you.
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!