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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
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