How to modify the link style?

Hi, we are using the Documentation theme in Confluence 3.5.

The hyperlinks in these theme are underlined only on mouse over,

but in general the links are not underlined and therefore harder to see than necessary.

(I believe, underlying links is a good practice and mostly common in the web)

Can you help me with the exact spelling of the css entry to add to the space stylesheet,

so I can override the theme settings?

Thanks.

For future Confluence versions, I'd suggest to make underlining of hyperlinks the default

(or make it configurable)

2 answers

1 accepted

2 votes
Answer accepted

I'm ended up with this stylesheet entry:

.wiki-content a {
text-decoration:underline !important;
}

Reason why I liked this more: It does only modify the links' appearence in the content area, not anywhere else.

In Space Admin > Look and Feel > Stylesheet click Edit and add the following css rule:

a:link, a:visited, a:active {  
  text-decoration: underline;  
}

I was advised to add !important , so the system defaults are being overwritten.

Thanks anyway.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

277 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you