How to center a video using Custom Liquid on home page

Please, what can I include in this code to make my video be in the center of the page?

Thank you very much,

1 Like

@Californicanna

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Hello, my website is not online yet but I’ll give you the password to see it.

https://californicannastore.com/

password: traaa

thank you very much

@KetanKumar

Hello @Californicanna Kindly add this code to your base.css file.

Navigate to online store >> Click edit theme code.

Now find base.css and paste the following code:

#shopify-section-template--15145135210679__1641844077b2d4baae{display: flex !important; justify-content: center;}

I hope it will be helpful for you.

Thanks

Did it solve your issue?

- If yes, Like & Mark As Solution to help the community

- If not, let me know. also share a screenshot of the code that you added.

1 Like

Thank you sooo much!! It worked.

Hey @eFoli-Marvic ,

I have tried this and put the code at the bottom of base.css however nothing has changed. I am using a custom liquid to upload a video.

1 Like

@LTJ

can you please send store url so i will check and let you know

ltjewellers.com

@KetanKumar