Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling bullet text formatting through stylesheet

b August 28, 2013

Hi,

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

Thanks,

2 answers

0 votes
b September 3, 2013

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.

Thanks

0 votes
Amalia
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.
August 28, 2013

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 {
margin-bottom:10px;
}

Amalia
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.
August 28, 2013

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;
}

b August 28, 2013

Thanks.

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?

Thanks

b August 28, 2013

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!

b August 28, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events