- Messages
- 5,020
- Website
- www.xenfocus.com
If you've enabled the "Wallpaper design" setting under the "Grid layout" style properties, you can now add background-images to your nodes.
To do this, you'll first need to know the id of your node. If you don't know the id, you can find it by browsing to ACP > Forums > Nodes. Click on a node, and the URL will show you the id. For example:
With this in mind, add the following to your extra.less file, replacing 33 with your own node id and change the URL to your own image.
Repeat that code for each node/background image and you're done!
To do this, you'll first need to know the id of your node. If you don't know the id, you can find it by browsing to ACP > Forums > Nodes. Click on a node, and the URL will show you the id. For example:
Code:
admin.php?forums/tutorials.33/edit
With this in mind, add the following to your extra.less file, replacing 33 with your own node id and change the URL to your own image.
CSS:
.focus-grid .block--category .node--id33 .node-body {
background-image: url('styles/xenfocus/global/node-wallpapers/33.jpg');
}
Repeat that code for each node/background image and you're done!
Last edited: