I have a challenge that I am not able to meet.
I made a collection list. Instead of the picture on the list, I used a slider that displays a multi-image from the CMS collection. it looks like this and works well BUT…
I would like the whole area of the collection item slider and the caption to link to the appropriate CMS collection page. And here comes the problem. I can’t transform the div into a link box that contains a collection list (in this case the slider is collection list multi - image).
Same issue. I have a nested collection inside a collection and I’m finding it difficult to turn the whole div into a link. I can add a link button inside of it, but when I try to wrap the entire div as a link I get the error “collection list wrapper can not be placed in a link”. Racking my brain trying to figure out how to accomplish this.
I found a way to do what I was trying to accomplish. I ended up putting a link block inside the collection item, set the position to absolute and full. This turns the entire div into a link and works around the limitation.
Convert the link block that is wrapping the collection list/s to a div. Assign a class to the div eg. item-link.
Drag a link element into the collection list wrapper and link it to the CMS page. Add a class to the link eg. item-link-url, and set the visibility to none.
Add the following script to the page before the closing body tag.
Wow, this is really dumb limitation. I’m building Portfolio Masonry Grid and I can’t make the portfolio items clickable because they contain a collection list of their categories. This should be possible in Webflow without needing to hack it with custom javascript!
Yes, I have a collection list of my portfolio items, then inside each item I have a collection list of the categories that portfolio item is tagged with. For the time being I was able to accomplish the goal by making my link block position absolute and fill space of the parent. I just don’t understand the arbitrary rule that a collection list can’t be nested inside a link block. I’m guessing it’s because they don’t want links inside of links, but my sub collection list doesn’t have any links in it.