[Resolved] Bullet points in lists in the sidebar

Home Forums Support [Resolved] Bullet points in lists in the sidebar

Home Forums Support Bullet points in lists in the sidebar

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1233504
    Timo

    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

    #1233853
    David
    Staff
    Customer Support

    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">

    #1234323
    Timo

    Thank you David!

    Cheers,
    Timo

    #1234471
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.