I have a table I would like customize in CSS but first need to target it with Twig. The problem I am running into is that the twig template is global so it is for ALL tables. If I edit this table with this twig template, it will change all the tables on all the pages.


In the Twig Documentation, I see no mention of any Table ID's so how do I target this specific table for this page?

enter image description here

The main table in the center of the page is targeted and edited with this twig template:


I want to make the side table look similar but there rendered on 2 different twig templates and I only want to change it for THIS page only and not every table on the rest of the site.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.