Shopify themes, liquid, logos, and UX
how do I do my video section visible only on the home page
https://2cdlg2c6nf0v3yvj-82296930600.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
Hi @the-gallery
You can do that by adding this code to theme.liquid file in Online store > Themes > Edit code before </head> tags
{% if template == 'index' %}
<style>
.videoBox { display: flex !important; }
</style>
{% else %}
<style>
.videoBox { display: none !important; }
</style>
{% endif %}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hi @the-gallery
You can do that by adding this code to theme.liquid file in Online store > Themes > Edit code before </head> tags
{% if template == 'index' %}
<style>
.videoBox { display: flex !important; }
</style>
{% else %}
<style>
.videoBox { display: none !important; }
</style>
{% endif %}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
that you so much!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025