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

Figured out how to Replace Specific Node Icons

DieselMinded

Well-known member
#1
add to extra css

Code:
.nodeList .node_# .nodeIcon{
content: url('/link/to/image.jpg');
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
height: 33px;
width: 50px;
display: inline;
vertical-align: middle;
}
# is node ID

Make image 100x66 I've found when you have css render at 50% the image quality remains high on retina displays

repeat for nodes you wish to change

See it here - http://www.mymilitia.com

123.png
 

DieselMinded

Well-known member
#6
when i added the .nodeIcon to the first line it deleted my old one had to mess with the code for a while not sure what im doing but it works