XF 2.0 Add class to PAGE_CONTAINER if viewing prefix filtered page

Case

Well-known member
Need to target prefix filtered pages so want to add a class to PAGE_CONTAINER.

The following works within the forum_view template but not PAGE_CONTAINER

Code:
{{ $filters.prefix_id ? 'class' : '' }}

Is it possible to check if you are viewing a prefix page within this template?
 
Back
Top Bottom