Shopify themes, liquid, logos, and UX
Hello @Stephen567
While you mentioned not being experienced with coding, this might be the most effective solution. You can add CSS styles to your iframe to control its behaviour on mobile devices.
Here's a basic example:
/* Add this to your Shopify theme's CSS file */ iframe[src*="youtube.com"] { width: 100%; /* Make the iframe full width on mobile */ height: auto; /* Maintain aspect ratio */ }
This code will make the YouTube iframe occupy the full width of the mobile screen and adjust its height accordingly to maintain the video's aspect ratio.
OR
Shopify might offer built-in video embed features or apps that handle responsive video embedding more effectively. Check your Shopify admin for options related to video embeds.
OR
Explore Shopify App Store
Thank you. I have no idea with code and CSS (whatever it really is) to be honest. Can you please be specific with what I need to do. I'm not sure if when you say CSS you mean I add this text to the existing text in the custom liquid box. Maybe you can copy the code I shared and integrate your suggestion so I paste the whole thing to ensure it's in the right place? Appreciate the help, thank you.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025