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;
}
}
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