Monday, April 28, 2014

Bullets Missing in Unordered List in WordPress Widget or Sidebar

If you're reading this blog post there is a good chance you have added an unordered list to your WordPress widget and the bullets do not show on the front end of the website.  You've checked your HTML code and it's the perfect syntax for a basic bullet list of items.  For example:

<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>

I tried many different CSS hacks suggested in the WordPress forums, but finally tried a suggestion listed here.


There's no need to visit the above link. 

The answer is simple.


In your widget remove the <ul> & </ul> tags.  Leave the <li></li> tags. Save your widget.  Go to the front end of your website, refresh the browser window, and, viola!  you should have a bullet list in your widget.



Hope this can save a few people some time and frustration.