- Is it possible to add a video to only one collection page? When I add the video to a single collection page it shows up in all my collection pages.
Hi @Roseandthorn ,
Because all your collections use the same template, when you add a video, it will be visible to all. You have 2 ways to solve it:
-
You add a condition to display the video by handle collection, so the video will only show for the collection that meets the condition.
-
You create a new template and select it for the collection you want to display videos.
Are you using OS1.0 or OS2.0 theme? Please send me the theme name, I will guide it for you.
Hello and thank you. The theme name is dawn. It’s the basic free theme.
Hi @Roseandthorn ,
Please go to sections > video.liquid file and add code here:
Code:
{% if request.page_type == 'collection' and collection.handle != 'collection handle' %}hidden{% endif %}
with collection handle: is the handle of the collection you want to display the video.
Hope it helps!
Hi! What are the code editing instructions to do this same thing but using the LALVIV theme?
What are the code editing directions for LALVIV theme?