How can I change the color of a (hyper)link for one specific page?

Svenja Lorenzen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2020

Is there a way to change the hyperlink color within a page itself using HTML or a user macro?

 

P.S.:I know I can change the color schema for the entire wiki space but this time I really only need to change the color of specific links.

2 answers

1 accepted

1 vote
Answer accepted
Svenja Lorenzen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2020

Placing the the HTML Macro on your site with the following code inside:

<a href="https://www.wikipedia.com" style="color: #de1738; font-weight:bold">Wikipedia</a>

Exchange the URL and the text to your needs. The link will appear in red (#de1738). 

The color code can be changed to any color you prefer. If you don't want the link to appear in bold just delete ; font-weight:bold 

<a href="https://www.wikipedia.com" style="color: #de1738">Wikipedia</ 

 

0 votes
Irina Jovanovic August 3, 2020

All you  need to do is use the CSS color property on the anchor tag with whatever color Hex you want.

Svenja Lorenzen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2020

Thanks! I thought way to complicated and couldn't think of the easiest solution. Your food for thought helped me to get into the right direction.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events