Wordpress Sidebar Unordered List Dot Error - Need fix

3 replies
The Problem:

Inserted a new sidebar to wordpress theme - cool and easy.

But right now i have this small dot - the unordered list dot - in every widget i use.






The code:

Code:
<div id="sidebar">
	<li id="text-3" class="widget widget_text"><h2 class="widgettitle">Testimonials</h2>

Any idea to fix this people?
#dot #error #fix #list #shows #sidebar #unordered #wordpress
  • Profile picture of the author n7 Studios
    You'll need to look at your theme's CSS - specifically anything related to the ul, li, #text-3, .widget or .widget_text classes.

    One (or more) of those will require the list-style-type: none; attribute.
    {{ DiscussionBoard.errors[1223441].message }}
  • Profile picture of the author NeutroHost [Jon]
    Just thought i'd point out even though it'll probably not affect your layout, but may affect cross-browser reliability.

    an unordered list is done as follows:

    <ul>
    <li></li>
    <li></li>
    <li></li>
    </ul>
    What you seem to be doing is:

    <div>
    <li></li>
    <li></li>
    </div>
    That's not really right.

    But in any case, placing the following at the bottom of your style.css stylesheet should solve the problem:

    #sidebar li { list-style-type:none; }
    Signature
    NeutroHost || Carbon-Neutral Web Hosting as low as $1.95/month
    EXCLUSIVE 30% OFF all semi-annual and annual plans (Promotional Code: WARRIORFORUM).
    {{ DiscussionBoard.errors[1223851].message }}
  • Profile picture of the author Fernando Veloso
    Thanks guys, problem solved.

    Over and out.
    Signature
    People make good money selling to the rich. But the rich got rich selling to the masses.
    {{ DiscussionBoard.errors[1224418].message }}

Trending Topics