- Messages
- 5,040
- Website
- www.xenfocus.com
If you'd like to display your forums in a grid layout, browse to Style Properties > Xenfocus: Grid layout and enable Grid view.
A toggle will appear in the front-end Theme Editor, allowing your members to switch back to a table layout if they wish (assuming you've given them permission under Xenfocus: Theme Editor).
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!
A toggle will appear in the front-end Theme Editor, allowing your members to switch back to a table layout if they wish (assuming you've given them permission under Xenfocus: Theme Editor).
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:
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!
Attachments
Last edited: