Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

0 votes
Answer accepted

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</ 

 

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

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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

407 views 13 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you