XF 2.0 CSS for specific forum node / page node

thunderup

Active member
What css do I require to call for specific page node or forum node to display things differently (such as background color) than the standard style?

Thanks
 
This changes a node on the forun list:

Code:
.node.node--id5 {
    background: url(imagepathhere) no-repeat center center yellow;
}

This will change the page background when viewing that node (may need to adjust depending on where your backgrond is set:

Code:
[data-container-key="node-255"] .p-pageWrapper {
    background: url(imagepathhere) no-repeat center center yellow;
Should work in extra.less
 
Last edited:
Back
Top Bottom