Navmap space-specific css broken after upgrade to 5

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

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

has the classname changed?

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

191 views 4 6
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