XF 2.1 Changing Link Color in forum posts

Hello,

Question 1- How do i change link color for content inside of posts only. I.e link <- if i wanted that to be orange not blue
(i know how to change all link colors via > style properties > basic colors. I only want to change links in posts)

Question 2 - Is there a way for forum users to override this default on a case by case basis when they are posting links.

Thank you!
 

Sunka

Well-known member
Question 1- How do i change link color for content inside of posts only. I.e link <- if i wanted that to be orange not blue
(i know how to change all link colors via > style properties > basic colors. I only want to change links in posts)
Add in extra.less and change colors as you want
Code:
/* START Linkovi u postovima */
.message-userContent a
{
    color:#0e0588;
    text-decoration:underline;
    font-weight:normal;
}

.message-userContent a:hover
{
    color:#C30000;
    font-weight:normal;
    text-decoration:underline;
}
/* END Linkovi u postovima */
 
Top