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

Navmap space-specific css broken after upgrade to 5

Deleted user August 27, 2014

When we upgraded to version 5, the space-specific stylesheet that worked perfectly in version 3.5.x is now ignored. Here is an example of CSS that previously worked, but now does not. Is it no longer possible to format a navmap using local CSS?

a.navMapCell, a.navMapCell:link, a.navMapCell:visited
{
background-color:yellow;
}
a.navMapCell:link {
color: #000000;
}
a.navMapCell:visited {
text-decoration: none;
color: #FF0000;
}
Just so you know: I'd rather not edit the global stylesheets. I haven't got access to the server, they're very complicated, I don't want the responsibility of accidentally breaking the entire wiki etc. The ability to edit on a local, space level is all we need or want.

3 answers

0 votes
Deleted user September 8, 2015

Hi, I just solved the problem! smile

You have to add .navMapContainer before each a.navMapCell declaration. See the following example.

.navMapContainer a.navMapCell
{
background-color:yellow;
}

.navMapContainer a.navMapCell:link {
color: #000000;
}

.navMapContainer a.navMapCell:visited {
text-decoration: none;
color: #FF0000;
}

That works for me (Confluence 5.8.9). smile

0 votes
Julia Wester [Wittified]
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.
September 20, 2014

has the classname changed?

0 votes
Brian K September 10, 2014

I'm curious about this too. And just so you know, i tried the same css in the global stylesheet with no luck.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events