Select to view content in your preferred language

dynamic text LINK tags stuck in blue font color

1244
2
Jump to solution
10-21-2024 04:21 PM
CRose
by
Occasional Contributor

In my map layout, I have a large block of dynamic text containing a list of sources, with their DOI hyperlinks. 

The urls are placed within <LINK> tags to facilitate accessibility tagging. 

However, the text within the LINK tag is blue and I am not able to change it to any other color. 

Here's an example of a section of my dynamic text: 

</FNT>Syverson, K.M., and Colgan, P.M., 2011, The Quaternary of Wisconsin: an updated review of stratigraphy, glacial history and landforms, <FNT style="Italic">in</FNT> Ehlers, J., Gibbard, P.L., and Hughes, P.D., eds., Quaternary Glaciations — Extent and Chronology: a closer look: Amsterdam, Elsevier, Developments in Quaternary Science, v. 15, p. 537–552, <LINK url="https://doi.org/10.1016/B978-0-444-53447-7.00042-8">https://doi.org/10.1016/B978-0-444-53447-7.00042-8</LINK>.</FNT>

 

 

I have ArcGIS Pro 3.3.2 

0 Kudos
1 Solution

Accepted Solutions
CRose
by
Occasional Contributor

Yes, I'm comfortable using formatting tags.

 

I have tried the CLR tag before, but without success; that may be because I tried only black. 

Following your example, I am able to use the CLR tag inside of the LINK tag to change to red="230" green="0" blue="0" or any other color where one of the three numbers is greater than zero. When I use red="0" green="0" blue="0" (trying to get the text to turn black), it has no effect and the text remains blue. 

With a bit more poking around, I found that if I define the color in CMYK instead of in RGB, I can use <CLR black="100"> and that seems to work okay. 

 

Thank you for your help. 

 

View solution in original post

0 Kudos
2 Replies
TomBole
Esri Regular Contributor

Hi @CRose 

Blue is the standard default color for hyperlinks. When a hyperlink is detected the text's color will be automatically set to blue. Currently, there is no way to change the color of the hyperlink through the UI.

If you are comfortable with formatting tags you can adjust the font color of the hyperlink text in the tag view of the Text Element pane. Any change here will not affect the blue color of the underline seen when hovering the mouse over the hyperlink. The screenshot below shows an example.

Unless you a very comfortable with using (and troubleshooting) formatting tags I would recommend sticking with the default blue. 

hyperlnkcolor.jpg

Tom

CRose
by
Occasional Contributor

Yes, I'm comfortable using formatting tags.

 

I have tried the CLR tag before, but without success; that may be because I tried only black. 

Following your example, I am able to use the CLR tag inside of the LINK tag to change to red="230" green="0" blue="0" or any other color where one of the three numbers is greater than zero. When I use red="0" green="0" blue="0" (trying to get the text to turn black), it has no effect and the text remains blue. 

With a bit more poking around, I found that if I define the color in CMYK instead of in RGB, I can use <CLR black="100"> and that seems to work okay. 

 

Thank you for your help. 

 

0 Kudos