1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CSS applying for a certain node

Discussion in 'Styling and Customization Questions' started by Matthew2D, Apr 24, 2012.

  1. Matthew2D

    Matthew2D Active Member

    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.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Code:
    .node.node_5 .nodeIcon
    {
        @property "nodeIcon";
        margin: 10px 0 10px 10px;
        float: left;
        width: 36px;
        height: 36px;
        @property "/nodeIcon";   
    }
    
     
    Matthew2D likes this.

Share This Page