The automatic color of my link using a lightning:formattedUrl is not black and I am trying to change it to the color black. Is there a way to do this, I have tried adding it in the class with color:black and color:#000000 and both did not work. I have also tried fixing with a div around the lightning:formattedUrl block and that did not work either. This is an aura lightning component and NOT a lightning web component.
[SalesForce] Change the font color of a lightning:formattedUrl
Related Topic
- [SalesForce] Refer static resource in css of lightning component
- [SalesForce] How to set background-color in lightning component
- [SalesForce] Lightning Icon Background color not changing
- [SalesForce] use base LWC in Aura component
- [SalesForce] Lightning Web component and Aura component performance difference due to the change in architecture
- Change color of a lightning-vertical-navigation-item-icon
Best Answer
I tried to use div around the lightning:formattedUrl like you and it worked. Can you show your code?