If I look at body class when on list view there is com_cobalt and view_records in it. Is it possible somehow to include section name also in this so I can independently style for ex. table article list template for every section without copying templates?
Ex. let's say I have 2 sections - Events and Reviews. For article list template I will use table template. Now if I look at table template it has classes. Those classes are same throughout this 2 sections.
What I would like to achieve is to have a parent class (ex. section name) somewhere to be able to style this template differently. So for this 2 sections css would be:
.events .table-records
.reviews .table-records
If I look at body class when on list view there is com_cobalt and view_records in it. Is it possible somehow to include section name also in this so I can independently style for ex. table article list template for every section without copying templates?
Ex. let's say I have 2 sections - Events and Reviews. For article list template I will use table template. Now if I look at table template it has classes. Those classes are same throughout this 2 sections.
What I would like to achieve is to have a parent class (ex. section name) somewhere to be able to style this template differently. So for this 2 sections css would be:
.events .table-records
.reviews .table-records