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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

414 views 17 9
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