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?

Neil Adams Aug 07, 2017

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 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:

 <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

Neil Adams Aug 08, 2017

Thomas,

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

Thank you!

 

-Neil

1 vote
Shannon Spaniol Atlassian Team Aug 08, 2017

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

Neil Adams Aug 08, 2017

Shannon,

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

-Neil

Shannon Spaniol Atlassian Team Aug 08, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,348 views 11 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you