JoyFreak Well-known member Mar 8, 2020 #1 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!
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!
021 Well-known member Mar 8, 2020 #2 .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; } } Upvote 0 Downvote
.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; } }
JoyFreak Well-known member Mar 8, 2020 #3 021 said: .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; } } Click to expand... How would I call a page node? A specific page node, rather than template-page_view Upvote 0 Downvote
021 said: .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; } } Click to expand... How would I call a page node? A specific page node, rather than template-page_view
021 Well-known member Mar 8, 2020 #4 JoyFreak said: How would I call a page node? A specific page node, rather than template-page_view Click to expand... ..template-page_view[data-container-key="node-{node_id}"] Upvote 0 Downvote
JoyFreak said: How would I call a page node? A specific page node, rather than template-page_view Click to expand... ..template-page_view[data-container-key="node-{node_id}"]
JoyFreak Well-known member Mar 8, 2020 #5 021 said: ..template-page_view[data-container-key="node-{node_id}"] Click to expand... Legend! I’ll give this a bop. Thanks Upvote 0 Downvote
021 said: ..template-page_view[data-container-key="node-{node_id}"] Click to expand... Legend! I’ll give this a bop. Thanks
JoyFreak Well-known member Mar 8, 2020 #6 I tried .template-page_view[data-container-key="node-{node_40}"] and .template-page_view[data-container-key="node-{40}"] but neither work Upvote 0 Downvote
I tried .template-page_view[data-container-key="node-{node_40}"] and .template-page_view[data-container-key="node-{40}"] but neither work
021 Well-known member Mar 8, 2020 #7 JoyFreak said: I tried .template-page_view[data-container-key="node-{node_40}"] and .template-page_view[data-container-key="node-{40}"] but neither work Click to expand... .without braces, only .template-page_view[data-container-key="node-40"] Upvote 0 Downvote
JoyFreak said: I tried .template-page_view[data-container-key="node-{node_40}"] and .template-page_view[data-container-key="node-{40}"] but neither work Click to expand... .without braces, only .template-page_view[data-container-key="node-40"]
JoyFreak Well-known member Mar 8, 2020 #8 Haha, yeah just figured that out! Whoops Thanks Upvote 0 Downvote