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

XF 1.4 Link forum node image

tommydamic68

Well-known member
#1
I was able to create an image in the link forum node i had created, however I have created another link forum node and I would like to use a different image then the other - is this possible?

Code:
.node .linkNodeInfo .nodeIcon {
background-image: url('http://mysite.com/community/styles/sphynxlair/xenforo/node.png');
}
Screen Shot 2015-01-10 at 10.37.43 AM.png
 

tommydamic68

Well-known member
#5
What do you mean by two different images?

A node can only have one image.
Well,
For example, I created a new link forum node for "information" so I put an image for that link forum node with a sort of "Info" type image. Now I want to crate another link forum node that is lets say a "game center." I wanted to put an image next to that node that would be sort of "game" related image. here is a example with photo shop.

Here is the link forum node with the current "info" image.
Screen Shot 2015-01-10 at 11.34.48 AM.png

I am looking to add a game section and want a different image like below.
tttt.png
 

tommydamic68

Well-known member
#9
It will work if you use the correct classes.

View attachment 94385
Thanks @Brogan - I did try the proper class. the node ID is 97. I used this:

Code:
.node link level_2 node_97 .nodeInfo linkNodeInfo .nodeIcon {
    background: url('styles/sphynx/images/game.png') no-repeat !important;
    background-repeat: no-repeat;
    background-position: -108px 0;
}
the image path is correct as well.

http://sphynxlair.com/community/styles/sphynx/images/game.png

Any other suggestions.