Nested Number Lists - roman numerals, restart at 1

Hello everyone. I'm trying to convert a manual from InDesign into Confluence using the old copy and paste technique and I'm having a bit of trouble with nested number lists. I have followed the instructions found on various sites and can achieve the nested list where a., b., c., appears but I want them to use i, ii, iii.

I'm familiar with Flare and CSS, so thought it would be a case of just editing the style sheet to:

ol {

list-style-type: decimal;

}

ol ol {

list-style-type: lower-roman;

}

ol ol ol {

list-style-type: lower-roman;

}

But that doesn't seem to have any effect. When I looked at the source of the pages after creating the a., b., c. nested lists, it looks like the indentation method doesn't create correct HTML - it looks okay on the screen (apart from the letters), but the nesting of the <ol> and <li> is incorrect.

When I have a play around with the indent and number list buttons, I can get the numbers to appear on the nested part, but they don't restart at 1. Not surprising as the underlying code isn't starting a new list.

Can anyone tell me the correct way to get nested number lists?

1 answer

It's okay, I figured it out. Deleted all of the text, re-pasted it in, set the numbering so that it was indented with letters. Edited the stylesheet to have:

  1. ol {
  2. list-style:decimal;
  3. }
  4. li ol li {
  5. list-style:lower-roman;
  6. }

Problem solved.

Suggest an answer

Log in or Sign up to answer
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 Take your e...

711 views 2 13
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