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
Accepted answer

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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,565 views 26 14
Join discussion

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