XF 2.0 change in content link color?

jbex

Member
Licensed customer
Could anyone tell me where at in the xenforo dashboard I could change the in post links color independently from the rest of the text?
I just want to change the color to the text with hyperlink inside a post. Xenforo 2
Thank You
 
I was searching for the answer to this too and couldn't find anything. I just added this to my extra.less for the template I wanted to change.

Code:
/* Links in posts */
a.link--external
{
    color: #387144;
}

a.username
{
    color: #387144;
}

However, if you change a.username, it will change the color in some other places on the site as well. This may or may not work for your purposes.
 
Also, I discovered that code only does links to external sites. If you want links to other pages on your site, you'll have to apply it to a.link--internal also.
 
CSS:
.message-userContent a
{
    color:#0e0588;
    text-decoration:underline;
    font-weight:normal;
}

.message-userContent a:hover
{
    color:#C30000;
    font-weight:normal;
    text-decoration:underline;
}
 
This popped up on my search, but it is not working for me. Trying to get this alone to be a different color since it is an external site. Any ideas?

A1DA28FF-9EFF-4BAA-ADA2-6A27FE000550.webp
 
Back
Top Bottom