Khoros Atlas Logo

AlyessaD
New Commentator

Formatting Custom Content

Jump to solution

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?

0 Kudos
4 Replies 4
Highlighted
Respected Contributor
Respected Contributor

Re: Formatting Custom Content

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

Use that instead!

Reply
Loading...
Honored Contributor Honored Contributor
Honored Contributor

Re: Formatting Custom Content

Jump to solution

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
Sr. Digital Business Manager - Community
@ National Instruments
Reply
Loading...
AlyessaD
New Commentator

Re: Formatting Custom Content

Jump to solution

Thank you! That worked!

0 Kudos
Reply
Loading...
AlyessaD
New Commentator

Re: Formatting Custom Content

Jump to solution

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

0 Kudos
Reply
Loading...