Change numbered bullet style?

Is there a way to customize the numbered bullets? Confluence by default has three levels of ident as

1.

a.

i.

I've been asked to provide support for:

1.

1.1

1.1.1

Is this possible and can it be done in the On Demand version of Confluence?

1 answer

1 accepted

1 vote
Accepted answer
Steven Behnke Community Champion Aug 08, 2014

Please inspect my picture below. Is this what you are looking for? I am not sure if this can be done on Atlassian OnDemand.

This is CSS styling code. Normally this should go in your CSS style sheet but as an AOD subscriber you do not have access to the style sheet as per AOD restricted functions. If you can use the HTML macro, you would be able to paste this css there as well.

<style type="text/css">
ol {
    counter-reset: item;
}
ol li {
    display: block;
    position: relative;
}
ol li:before {
    content: counters(item, ".")".";
    counter-increment: item;
    position: absolute;
    margin-right: 100%;
    right: 10px; /* space between number and text */
}
</style>

http://stackoverflow.com/questions/4098195/can-ordered-list-produce-result-that-looks-like-1-1-1-2-1-3-instead-of-just-1

That works with the HTML macro, but it has some obvious downsides including having to manually add it and having it not be visible while you're editing. I'll +1 your answer for now, but I'm hoping there's a way to do this globally.

I'm quickly becoming disillusioned with the OnDemand versions...

Steven Behnke Community Champion Aug 08, 2014

I apologize for the incomplete answer. I work typically with self-hosted versions of Atlassian products so that's where my mind rests. I'll continue to think about this a bit but without being able to edit the stylesheet or the source file itself I don't see a great way to add this everywhere.

As you said this won't help with viewing the code in the editior, but if pasting it in every page is getting old you could add it to a template. Everytime you select your template this would be included automatically.

You may be able to go to your Atlassian Rep and ask them if this is possible, since you know exactly what you want modified now (the global css) although I don't see them having the ability to make this change for you either.

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

68 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