Yup, that’s what happened. Thanks!
This is interesting. It didn’t work if I use the pre-built template’s portfolio. But if I add the portfolio element through page builder, it did. I wonder if there’s any issue with the portfolio template?