Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Formatting Nested Lists

I am creating a CSS file to format a space in Confluence. I'm trying to format a nested list. When I set the font size to 1.5em, the font in the nested list is bigger than the list. Here's an example:

  • List Item 
  • List Item
    • Nested List Item - (The font is bigger than the List Item)
    • Nested List Item - (The font is bigger than the List Item)
  • List Item 
  • List Item

I'm not sure why this happens but it's consistant. The Table of Contents at the top of the page renders the same way. 

3 answers

4 votes
Soumyadeep Mandal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 17, 2020

Hi @Paul Cartee ,

Welcome to the community!

It is actually possible to do this through the normal editor mode. Let me try to explain this

  1. Create the numbering first
  2. In the second line, use the "tab" button so that the cursor moves inward
  3. Confluence would use numbering when you move the cursor inward
  4. Change it to "bullet point" by clicking the option

That should do it. I know it's a bit confusing!

also check out this documentation https://confluence.atlassian.com/confkb/how-to-have-nested-number-lists-in-confluence-757465539.html

You miss understood what I was asking. The problem is, when I apply my CSS file to a page with a nested bulleted list, the second level of the bulleted list has a font size larger than the first level of the bulleted list, and the 3rd level of the nested bulleted list is larger than the 2nd level. It appears that Confluence keeps increasing the size of the font with each level of the list. 

See the screenhot below for an examle. 

bulleted list example.png

This only happens when I use a CSS file. My question is, how do stop this from happening? I increased the font size for <ol> and <ul>. The 1st level renders correctly, but 2nd and 3rd levels render incorreclty. I tried to increase the font size of only <li> and it reneders the same way. The 2nd and 3rd level font sizes are always larger than the 1st level font size. 

For Confluence Cloud, I found that if I go to a page I created that has used the table of contents macro that has three levels of nested bullets, for example, I copy the bullets and paste them into a page I am editing and the nest bullets are maintained.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events