Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New Commentator

Formatting Custom Content

I am trying to add bulleted lists to some of the text we put in the custom content boxes in our community. I'm using the html code:

<ul>

<li>item 1</li>

<li>item 2</li>

</ul>

This puts a hard return between each list item, but it doesn't add a bullet. Is there a different code I can use to add bullets in front of each item?

4 Replies 4
Highlighted
Honored Contributor

<ul style="list-style-type:disc;">

Use that instead!

Highlighted
Honored Contributor

Hi Alyessa,

We had a similar issue in the past, and now we write our bulleted list like this within custom content containers:

 

<ul class=bullets>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>

 

 

However, it is possible our devs had to add custom class to make this work. You can give it a try though!

----------------------------------

Lili McDonald
Senior Community Manager @ Udemy
Connect on LinkedIn
Highlighted

Thank you! That worked!

Highlighted

Thanks for responding Lili. I think that's custom to your site because I didn't get bullets when I tried. (But the code from the response above worked for me.)