Ques/Help Trying to specify different node icon for question and article nodes?

E

ekool

Guest
This code works for the regular forum types but it ignores the different icon for the Question node type and Article node type. Instead, it just uses the icons from the general forum nodes. What am I doing wrong? This code was suggested by ChatGPT, so that could be the reason.

Code:

Code:
.node-icon {
    background-image: url('/img/lotus-node.webp');
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: center;
}
.node-icon i {
    display: none;
}
.node--read...

Read more

Continue reading...