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

XF 1.5 Custom Node Icon Issue

Discussion in 'Styling and Customization Questions' started by ali_00080, Oct 16, 2016.

  1. ali_00080

    ali_00080 Member

    I'm adding custom node icons for multiple boards in Extra.css however when I put the following code in, the Unread Icon doesn't seem to show.

    .node.node_14 .forumNodeInfo .nodeIcon, .node.node_14 .categoryForumNodeInfo .nodeIcon {
    background-image: url("@imagePath/xenforo/nodebadges/VBA Celtics Grey.png");
    background-position: 0px 0px;

    .node.node_14 .forumNodeInfo.unread .nodeIcon, .node.node_14 .categoryForumNodeInfo.unread .nodeIcon {
    background-image: url("@imagePath/xenforo/nodebadges/VBA Celtics.png");
    background-position: 0px 0px;


    If I add background-repeat: repeat; to the above code the Icons will show however like it states.. it repeats. I've linked an image below.
    Am I missing something simple here?

    Thanks in advance peoples :)
  2. ali_00080

    ali_00080 Member

    I got it.. just needed !important

Share This Page