Shopify themes, liquid, logos, and UX
Hi,
I am trying to make a video on my shopify website autoplay and loop for mobile and desktop.
On this page: https://obadiahcoffee.com/pages/seasonal-subscription
I also wanted to adjust how tall it was on desktop to make it a little smaller.
Thanks in advance for any help.
Hi @andrew72,
You can follow the below guide it will help you to add a section and everything will work fine.
Hi @andrew72,
With my tutorial it will help you to add video section with customizations for all.
And if you want to reduce the height for the current video section, please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
@media screen and (min-width: 750px) {
#shopify-section-template--16080752017562__full_width_video_3jbzdp video {
min-height: 850px !important;
}
}
Hello @andrew72 , Use this code to manage height of your video
.video-section__media video {
max-height: 800px;
}
Additionally, I have noticed that a poster image is currently being displayed with the video. Please remove the poster image and retain only the video code, as autoplay and loop functionalities are already enabled.
Hello @EvinceDev
What section would I input that code on?
What do you mean by poster image? on the page linked I only have a video at the top of the page at the moment.
https://obadiahcoffee.com/pages/seasonal-subscription
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025