Center Videos of Custom Content Block on Homepage

Solved
imadethecap
New Member
2 0 1

Hello, my website is capme.co

 

I added a custom content block to the Motion theme where I've added some videos captured with my product using HTML. I'm trying to figure out how to center these videos on my homepage, they are currently left aligned. Can someone help?

imadethecap_0-1619894470060.png

 

Thanks,

Ryan

0 Likes
QM-Michael
Shopify Partner
1 1 1

This is an accepted solution.

Add this piece of CSS at the end of your theme.css file:

#MainContent .custom__item-inner {
    text-align: center;
}

 

Please mark my post as " Accepted Solution" if it helped you solve your issue.
imadethecap
New Member
2 0 1

That did the trick, thank you so much!