CSS applying for a certain node

Matthew2D

Well-known member
#1
Hi. How do I get this to apply for a certain node, and not the others?

Code:
.node .nodeIcon
{
    @property "nodeIcon";
    margin: 10px 0 10px 10px;
    float: left;
    width: 36px;
    height: 36px;
    @property "/nodeIcon";   
}
I tried putting .node_5 after .nodeIcon and it didn't work.

Thanks.
 

Jake Bunce

XenForo moderator
Staff member
#2
Rich (BB code):
.node.node_5 .nodeIcon
{
    @property "nodeIcon";
    margin: 10px 0 10px 10px;
    float: left;
    width: 36px;
    height: 36px;
    @property "/nodeIcon";   
}
 
Top