I have four blocks to a view. I want to add class 'fancy-body' to all four blocks. How can I add that.
view_id : categories
display_id's of blocks : block_1, block_2, block_3, block_4
I know, I can add classes by creating individual twig template file for each block. like this,
block--views-block--categories-block-1.html.twig
block--views-block--categories-block-2.html.twig
block--views-block--categories-block-3.html.twig
block--views-block--categories-block-4.html.twig
Is it possible to achieve in single twig template file? How can I achieve that?
Need Help, Thank You!