Hey guys.
I’m developing a website for architects studio and there’s going to be a projects list. I’m curious if it’s possible to build a CMS collection, where separate items will be stylised using custom CMS parameters. I’m almost sure there’s some kind of a solution using JS for example, but I have no idea how to write it properly.
This is the prototype:
https://preview.webflow.com/preview/3xa-prototyp?utm_medium=preview_link&utm_source=dashboard&utm_content=3xa-prototyp&preview=a5f77e27095364a57d6fc62259a498c2&workflow=preview
Details:
My collection list is built like this:
collection list wrapper
collection list
.cms-item (default cms item container)
.cms-image (photo object fetched from the CMS)
I want to build a CMS record like this:
- title
- photo
- thumbnail size (dropdown, here an user can select “L”, “M” or “S”, and it’s going to set a different thumbnail size in the collection list, that’s going to be just a standard a flex box)
for example:
L size - width: 66.66%; height: 1020px;
M size - width: 66.66%; height: 560px;
S size - width: 33.33%; height: 560px;
This is how the project looks like:
Do you have any ideas how to write it and implement correctly?
Thanks a lot in advance! Cheers!
Here is my site Read-Only: Webflow - 3XA