XF 2.1 Calling a specific "page" template

JoyFreak

Well-known member
Licensed customer
Is there a way to call a specific page/node template through extra.less?

ATM I am using "page_view" template to target all of the pages but I want to edit something on a specific page that isn't set universally for all pages.

Thanks!
 
.you can use .template-{template_name} class
Example for hide page action buttons on main page:
Less:
.template-forum_list {
    .p-title-pageAction {
        display: none;
    }
}
 
.you can use .template-{template_name} class
Example for hide page action buttons on main page:
Less:
.template-forum_list {
    .p-title-pageAction {
        display: none;
    }
}
How would I call a page node? A specific page node, rather than template-page_view
 
I tried .template-page_view[data-container-key="node-{node_40}"]
and
.template-page_view[data-container-key="node-{40}"]

but neither work
 
Back
Top Bottom