Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,612
Community Members
 
Community Events
168
Community Groups

Change active link color in Confluence Server nav bar

Hi all, I have used CSS to change the navigation bar color in confluence server, however I am not able to change the active link color (That is the color of the space I am currently on.)

 

This is the CSS I am using

#rw_category_menu_scroll_container {
background-color: #f542ef;
}
#rw_search_container
{
background-color: #f542ef;
}

#rw_wrapper #rw_main #rw_theme_header .rw_header_row {
background-color: #f542ef;
}

CSS in question is

li.rw_active a:visited {
background: #ffffff;
}

Any ideas, thank you

Kayode 

2 answers

0 votes

The CSS format for the nav link is correct I think. As far as it goes, I believe that syntex could be an issue here.

0 votes
Bill Bailey Community Leader Aug 19, 2022

Have you checked using the console in the browser to see what rules are being applied and if yours are being overwritten?

Thanks, yes I am using the console actually.  I am able to change the color in the console but interestingly the same CSS is not changing the color in my CSS lol.

Bill Bailey Community Leader Aug 22, 2022

Where are you applying your CSS? Once you have done that, you can then see what is overwriting your rule.

Thanks Bailey.  I am applying the CSS in Under Look and feel - Stylesheet.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

Atlassian Community Events