Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change active link color in Confluence Server nav bar

kayode_faith
Contributor
August 19, 2022

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
Brody Nienow
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2022

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
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.
August 19, 2022

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

kayode_faith
Contributor
August 22, 2022

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
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.
August 22, 2022

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

kayode_faith
Contributor
August 26, 2022

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
AUG Leaders

Atlassian Community Events