WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] trying to remove list disc from blogroll (2 posts)

  1. ke vinritt
    Member
    Posted 3 years ago #

    On this page here I have a section in the sidebar called 'Training Links' which was created in the links section of the dashboard. The UL has a disc next to it and I cannot find where it is to remove it. Where is the styling for the blogroll? I have every other list set to list-style-type: none;

    Thanks

  2. PaBLoX
    Member
    Posted 3 years ago #

    If you check the markup you'll see:

    <div class="sidebar">
    blabla
    <li class="linkcat" id="linkcat-2"><h2>Training Links</h2>
    	<ul class="xoxo blogroll">
    <li><a target="_blank" title="Bike Training tips for the beginner to advanced" href="http://seasidetri.com">Bike Training</a></li>
    
    	</ul>
    </li>

    So, you need to add this to your style.css:

    .sidebar li {
         list-style-type: none;
    }

    ...or find a way to change the markup because that <li> is kind of lost there.

    That should solve it :). If you're interested in know what was happening, keep reading...

    For some reason, the rules from the line 596 of your style.css were applying to that li:

    .entry ul, li {
    font-family:Arial,Verdana;
    font-size:14px;
    line-height:20px;
    padding-top:8px;
    text-align:justify;
    }

    Just an advice, use firebug (or a tool alike) to check the markup and css, it's way easier and you can know which rules are applying to a specified element.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.