Last active
December 23, 2021 10:25
-
-
Save keithgreer/8f8debf0904ea9a7aaaef5cdf0a23a7d to your computer and use it in GitHub Desktop.
Shopify - YouTube on Homepage - https://keithgreer.dev/setting-up-a-multipurpose-cmsed-liquid-homepage-section-for-shopify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="medium-6 columns"> | |
<div class="content-wrap"> | |
<h3><span class="subheading">Learn 'How to' with our</span>{{ section.settings.video_title }}</h3> | |
<p>{{ section.settings.video_sub }}</p> | |
<a data-fancybox href="https://www.youtube.com/watch?v={{ section.settings.video_code }}" class="button">View Video</a> | |
</div> | |
</div> | |
<div class="medium-6 columns"> | |
<a data-fancybox class="image-wrap" href="https://www.youtube.com/watch?v={{ section.settings.video_code }}"> | |
<img class="play-button" src="//cdn.shopify.com/s/files/1/2602/4064/t/2/assets/play-button.png"> | |
<img src="{{ section.settings.video_image | img_url }}"> | |
</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment