XenForo Tutorials

[XenForo 2.x] Node description only on hover

Submitted by zbimz, , Thread ID: 67638

Thread Closed
zbimz
Newbie
Prime
Level:
0
Reputation:
0
Posts:
19
Likes:
12
Credits:
178
01-01-2018, 06:36 PM
This post was last modified: 01-01-2018, 06:37 PM by zbimz
#1
[Image: s9WuS8Z.gif]

Add code to your extra.less template:

Code:
/* Coloured Node Categories */
.block.block--category.block--categoryX .block-header {
  background: #009ACF;
  color: #ffffff;
}
/**********/

Change X to your node ID.


How do I find node ID?
It's simple to find it. Just hover on your Node Category Title like in example below and check for the ID:

[Image: 5wUK16U.png]


So the code for example above will be:

Code:
.block.block--category.block--category21 .block-header {
  background: #7CA430;
  color: #ffffff;
}

For each node ID you need to copy/paste the code above, then just edit to suit your needs.


More information

https://xenforo.com/community/resources/...over.6001/

Users browsing this thread: 1 Guest(s)