Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello! I am trying to center this iFrame, but no matter what I try it is stuck to the left side. Any help would be greatly appreciated. Thank you!
<div style="position: relative; width: 75%; height: 0; padding-top: 82.357275%; padding-bottom: 0; box-shadow: 0 2px 8px 0 rgba(63,69,81,0.16); margin-top: 1.6em; margin-bottom: 0.9em; overflow: hidden; border-radius: 8px; will-change: transform; align-items: center; margin: auto;"><iframe loading="lazy" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; border: none; padding: 0; margin: 0 auto; display: block; border-style: none;" src="https://www.canva.com/design/DAF5Cx0xHbo/view?embed" allowfullscreen="allowfullscreen" allow="fullscreen"> </iframe></div> <a href="https://www.canva.com/design/DAF5Cx0xHbo/view?utm_content=DAF5Cx0xHbo&utm_campaign=designshare&utm_medium=embeds&utm_source=link" target="_blank"></a>
Learn how to expand your operations internationally with Shopify Academy’s learning path...
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