CSS how to highlight restricted pages?

Dennis_G
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!
May 5, 2020

Restricted pages are marked with a small red padlock.

Is there a way to highlight for example the whole page title or any other element dependend on the padlock?

 

We need to clearly show if the page is "secure" or "open", the padlock is too small.

 

Any help is welcome :-)

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2020

 Hello @Dennis_G !

As I understand, you need to create something that more clearly displays the current page status.

As you have noticed, we are unable to do so natively. However, we might be able to reach the desired outcome by using CSS in Confluence.

 

NOTE:

Anyone coming from Confluence Cloud should be aware that this kind of solution is not natively available for your platform. You can read more here:

You can also try to use the HTML Macro to try and create a script to achieve your desired result. Here, this thread and our documentation might be helpful to understand some basic usage of the macro:

 

You will need to monitor the element that corresponds to the padlock in Confluence. For Confluence Cloud (I did not have a Server instance at hand), this is the element:

Screen Shot 2020-05-18 at 14.49.34.png

 

You should be able to find the corresponding one in Confluence Server by using the developer tools of your browser.

 

I hope this shines some light on where to go! Let us hear from you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events