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

This widget could not be displayed.

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

This widget could not be displayed.

has the classname changed?

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

466 views 6 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