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!

 

-neil

2 answers

2 votes
Thomas Schlegel Community Champion 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:

 <hr/>

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:

image.png

Thomas,

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

Thank you!

 

-Neil

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,
Shannon

Shannon,

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

-Neil

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,
Shannon

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

62 views 3 2
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