Not a bug Link with color not applied

truonglv

Well-known member
Affected version
2.0.7
Hi there. I have used color for an link in editor. It's not applied while render and editor itself. I have tested there. You can see the attachment for more details.
 

Attachments

  • Screen Shot 2018-06-28 at 9.14.33 PM.webp
    Screen Shot 2018-06-28 at 9.14.33 PM.webp
    55.5 KB · Views: 17
It's basic CSS. You need to apply your styling to your text and then wrap that with a link tag. This way the most inner styling gets applied to the text. You probably have linked your text first and then applied the styling.
 
Ok so how to end-user use it? Tell each users that it's basic CSS rules?. It's nothing with end-user who did not have any experience with technical.
 
Color the text BEFORE applying the link so you end up with...
Code:
[URL='https://xenforo.com'][COLOR=rgb(147, 101, 184)]Color 2 link[/COLOR][/URL]

Color 2 link
 
Add this to extra.less and it'll force links to use the assigned colour, regardless of the element order.

Less:
.bbWrapper span[style*='color'] a{ color: inherit; }
 
Top Bottom