Change list view to grid and vice versa by clicking on icons

Client need two columns. Main and sidebar
And want icons option in sidebar to change post layout from list view to grid view and grid view to list view of main container. How it can be achievable.

2 Likes

Seconded! A very necessary option, especially for online stores. I found an implementation using grid, but don’t know how to implement it in Bricks.