Crocoblock / suggestions

The suggestions for CrocoBlock project
195 stars 78 forks source link

How to hide an elementor column when a jetsmart checkbox filter doesn’t have results to display via javascript #7207

Open konkerdigital opened 11 months ago

konkerdigital commented 11 months ago

I have a 4 column section in Elementor with different filter for each one, I wanted to automatically remove or hide a specific column for example sub categories doesn't have results and the other columns will automatically expand its width to accommodate the hidden column or column that doesn't have data.

Can someone help me please? thank you

I tried playing with dynamic visibility inside crocoblock but couldn't make it work.

yavuzemrekocak commented 11 months ago

Open Elementor page editing with Jet Engine. After adding the filtering tool, click on the filter tool. In the Advanced tab in the upper section (seen as a setting gear), with the "Dynamic Visibility" option, bind to the post source so that it is equal to the values in the checkbox. This way, the Filter tool will not appear if there is no data in the source.