XF 1.4 Add icon before a link on a Thread

New Joe

Well-known member
When I used vB I used this below code which would add a nice icon before a url link in a Thread

Code:
.message .messageContent .messageText a {
    /*background: url("/images/url.gif") no-repeat scroll left center transparent !important;*/
    /*padding-left: 15px; */
}

I would add that in the EXTRA template
However for some reason it doesn't work on Xenforo

On my test site I got it working some how but I can't remember how I did it now
Any ideas?
 
Last edited:
Try these

Code:
.messageContent .externalLink:before {
content: url ("/images/url.gif") !important;
padding-right: 2px !important;
}

.messageContent .internalLink:before {
content: url ("/images/url.gif") !important;
padding-right: 2px !important;
}
 
Back
Top Bottom