Controlling bullet text formatting through stylesheet


I'm trying to improve the line spacing between bullets. All other content in the space looks fine, but there's not enough space between bullets.

I assumed that bullet text would be controlled by <ul>, but my stylesheet includes <ul> along with all the rest of the styles (which, as you can see, only affects font-size):

.wiki-content p,  
.wiki-content table,       
.wiki-content tr,       
.wiki-content td,       
.wiki-content th,       
.wiki-content ol,       
.wiki-content ul,       
.wiki-content li {       
    font-size: 14px;  

Does anyone know what I should add to my stylesheet?


2 answers

I would recommend you to use main-content instead of wiki-content. Only the bullet style for the page and blog contents will be affected

#main-content li {

Which confluence version are you using? Are you using documentation theme? If you are using doc theme, then you'd need to apply it in the space level

Try to also see if this works

#main-content li {
margin-bottom:10px !important;


I tried your suggestion (trying 50px just to be sure), but for some reason there's still no change. I removed li from the .wiki-content settings, but is it possible there could be a setting somewhere else that'd in conflict?


You are correct that we're using Documentation theme (and Atlassian version 4.3.7) - so I suppose I'll have to get the people with the real power to change things at the site level. :)

"!important" didn't do the trick.

Thanks for you help!

We're still having trouble: we've added this:
#main-content li { margin-bottom:10px !important; }
to the site stylesheet and removed any reference to <li> from the space stylesheet and we're still unable to change the spacing.

The "people with the real power the change things" haven't gotten to it yet, so for now I'll assume that this can be controlled at the site level and close the question.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 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 ...

188 views 4 6
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