Archived topic
Bullet points in lists in the sidebar
3 replies · Started by Timo on April 9, 2020
I have a Custom HTML widgets in the right sidebar of my website. I'm using HTML lists inside of them.
Yet, the HTML markup doesn't work as expected.
For instance, I'm using this code to format a list:
<ul>
<li><a href="link1">Link 1 text</a></li>
<li><a href="link2">Link 2 text</a></li>
<li><a href="link3">Link 3 text</a></li>
</ul>
The problem? The list bullets won't show up.
Is there a way to set the bullet points visible in my lists?
Cheers,
Timo
Hi there,
you do something like this - add this CSS:
.widget ul.disc-list li {
list-style-type: disc;
}
Then edit your HTML to include the disc-list class in your <UL> tag ie.
<ul class="disc-list">
Thank you David!
Cheers,
Timo
You're welcome