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

XF 1.0 Sub-forum icon

Discussion in 'Styling and Customization Questions' started by bsdinsight, May 17, 2014.

  1. bsdinsight

    bsdinsight Active Member

    hi All

    I am using code

    Code:
    .node .node_31 .forumNodeInfo .nodeIcon, .node .node_31 .categoryForumNodeInfo .nodeIcon {
        background-image: url("@imagePath/xenforo/widgets/forum-read-31.png") !important;
    }
    .node .node_31 .forumNodeInfo.unread .nodeIcon, .node .node_31 .categoryForumNodeInfo.unread .nodeIcon {
        background-image: url("@imagePath/xenforo/widgets/forum-unread-31.png") !important;
    }

    But sub-forum id 31 does not work (you can get my site at http://forums.bsdinsight.com/index.php?forums/dynamics-crm.9/)

    Pls help me to fix it. Tks in advance

    5-17-2014 9-01-52 PM.jpg
     
  2. Tracy Perry

    Tracy Perry Well-Known Member


    Check to make sure you are editing the correct style EXTRA.css (if you have more than one style).
    This is what works for me. I notice you have a space between .node and .node_31. Does NOT need to have a space (again, see below).

    Code:
    .node.node_2 .forumNodeInfo .nodeIcon, .node.node_2 .categoryForumNodeInfo .nodeIcon {
        background-image: url("images/nodes/node-sprite.png");
        background-position: 0px -88px;
        opacity: 0.4;
    }
    .node.node_2 .forumNodeInfo.unread .nodeIcon, .node.node_2 .categoryForumNodeInfo.unread .nodeIcon {
        background-image: url("images/nodes/node-sprite.png");
        background-position: 0px -88px;
        opacity: 1.0;
    }
     
  3. bsdinsight

    bsdinsight Active Member

    thanks you, it works not.

    In parent forums, it okie, but in sub-forum, we need to delete the space that your told.
     

Share This Page