It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I change the horizontal line rule color on an individual basis, instead of system wide?

I am trying to change the default color on the horizontal line rule on just an individual page, not a global change. Is it possible to use markdown to do that, or not?


Thank you!



2 answers

2 votes
Thomas Schlegel Community Leader Aug 08, 2017

Hi Neil,

do you have the free plugin Confluence Source Editor installed?

With that, you are able to edit the sources of your Confluence page directly:

 A page with the horizontal rule looks in Confluence Sources like that:


With the source editor you can add a style to your hr, e.g.:

<hr style="border: dashed rgb(0,255,0) 1.0px;background-color: rgb(170,0,0);height: 15.0px;"/>

The hr then looks like this:



I was unaware of that plugin. I'll give that a shot and see if that works.

Thank you!



1 vote

Hi Neil,

It's not possible to edit CSS for a single page in Confluence. We have a feature request for this, however: CONFSERVER-41708. You can vote onthat issue to help us keep track of how many users would be interested in such a feature.

In the meantime, my reccomendation would be to try Dan's answer on this other community post and enable the HTML Macro and use that to try and insert the CSS for the single page.

Let us know if you have any trouble!

Kind Regards,


Thanks for your reply! I'll also give that a shot and see what works. 


Hi Neil, 

No worries! Thomas' answer is also very good as you can directly edit the page so go ahead and give them both a try and see which works best for you.

Kind Regards,

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,507 views 14 20
Read article

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