Nice job! Pinegrow really does make custom blocks simple once you wrap you head around it. It'll never be as simple as HTML/CSS since you are effectively creating the structure and a set of controls to allow users to make modifications, but that's the trade-off.
Nice job! Pinegrow really does make custom blocks simple once you wrap you head around it. It'll never be as simple as HTML/CSS since you are effectively creating the structure and a set of controls to allow users to make modifications, but that's the trade-off.
Subscribe your Channel. Looking forward for more similar videos.
With that setup, could you remove 1 of the cards to make it 3 cards in the grid, or is the 4 cards hardcoded by your setup?
It depends how you create the grid-template-columns. You can make it flexible. Or you could add a block attribute for choosing the column count.
Example: grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));