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

How to modify the link style?

hans-peter.geier June 18, 2012

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

3 votes
Answer accepted
hans-peter.geier June 25, 2012

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.

0 votes
Julien Hoarau
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.
June 18, 2012

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

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

hans-peter.geier June 25, 2012

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
TAGS
AUG Leaders

Atlassian Community Events