Shopify themes, liquid, logos, and UX
Hello I have added Youtube videos to a few pages on my Pipeline site, but the thumbnails are huge. How do I make them smaller?
Hi @stevenunstick ,
May I suggest to update code these steps:
1. Go to Store Online-> theme -> edit code
2. Assets/theme.css
3. Add code below to end of file
#MainContent .page__template .rte__video-wrapper iframe[src^="https://www.youtube.com/embed"] {
position: static;
width: revert-layer;
height: revert-layer;
max-width: 100%;
}
#MainContent .page__template .rte__video-wrapper {
padding-bottom: 0;
}
@media(max-width: 560px){
#MainContent .page__template .rte__video-wrapper iframe[src^="https://www.youtube.com/embed"] {
height: 56vw;
}
}
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025