Streaming live at 10am (PST)

Is there a way to have variety in collection templates?


#1

I have a set of 5 pages in a collection template and for 3 of them I need to have a video at the top and for the other 2 I need to use an image. Is there a way to do this?

Thanks!

Here is my public share link: LINK
(how to access public share link)


#2

The way to do it that I describe below may be OK for your site but it may not be OK for others, it all depends how versatile the site has to be.

If you have 5 records in a collection, and for 2 specific records you want a video at the top, and for the 3 others an image:

In your collection settings, create 2 fields: one is Featured video, one is Featured image. Put a video in the video field for the 2 records that need a big video on top and let the image field blanK Do the opposite for the 3 other records.

Now design your template. Video section won't show up when there is no video in the record, and the same for the featured image posts.

This is not versatile because if you need to change this, you have to edit your records.

There are other solutions, for example:

Add 2 switchs to your collection, one called Featured image post and the other featured video post.

Now use those switches and their on or off position to alter the visibility of video and image sections of your posts. The benefit here is when you need to change things, you just have a switch to pass on or off when editing your records.


#3

Thanks for your help. I tried the switch solution but now it is hiding another section (the mission section).

https://preview.webflow.com/preview/if-i-made?preview=b927bcc3f73e949d966e11fe212a588a

Maybe I am doing something wrong. I am trying to edit the "Courses" collection template page.


#4

@vincent sorry! forgot to tag you


#5

You don't need to summon me if I already wrote in the discussion ( :

I looked at the page but I need you to tell me precisely where to look. I couldn't see any conditional visibility set on any element.


#6

Also you should populate the collections with the images, you still have a lot of placeholders and in webflow it's better to test with real images and content, placeholders sometimes behave in an unexpected way.


#7

I checked again, I see the video when it should be there, and the images. What is missing or behaving weird?


#8


So for example in "pricing for creatives" should have a video and then a section with a color fill + text. But it isnt displaying.

In Comp 101 or Wedding 101 there should be a hero image at the top then the mission section and then the author section.


#9

The course mission section is hidden because you've set the conditional visibility to do so


#10

You saved my life! Thank you so much for your help!


#11

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.