• I have a list in my sidebar that I want to just use the get_links_list call on. I also have a way of listing stuff in the sidebar using an image I have saved. I have NO additional code other than:

    \\<?php get_links_list(); ?>\\

    That part is in the sidebar file.

    In my style file I have this:

    \\#right ul
    {
    padding:0;
    margin:2px 0px 0px 20px;
    font-family:arial,sans-serif;
    font-size:12px;
    color:#000;
    line-height:17px;
    }

    #right li
    {
    background: url(images/bullet.gif) no-repeat;
    background-position: center left;
    padding-left: 10px;
    margin-bottom: 8px;
    }\\

    I am getting not only the bullet that I WANT, but also an additional set of bullets that I do NOT want. I think the problem may actually be in the code for how that get_links_list is written, and not in my theme.

    Can someone please advise?

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter LL

    (@ll)

    Oops, forgot the blog url:

    https://www.chromedcurses.com

    Add to your css:

    #right ul, #right li {
    list-style-type: none;
    }

    Thread Starter LL

    (@ll)

    THANK YOU! But there is one more bullet that is just hanging out on that “additional blogs I read.” How do I suppress that?

    Thread Starter LL

    (@ll)

    PLEASE, can someone help me suppress that last bullet that is offsetting the “Additional Blogs I Read” category/blogroll I have in my sidebar? https://www.chromedcurses.com

    You have one to many

    • in your code. UL starts the unordered (bullet) list. Li seperates the items. You start with an Li then add a UL and then list using Li. This results in that extra bullet. Basically you put an unordered list inside a list item.
      Change this:
      <li id="linkcat-1"><h2>Additional Blogs I Read</h2>
      <ul>
      <li><a href="https://www.soldiersperspective.us/">A Soldier's Perspective</a></li>
      <li><a href="https://www.momisnutz.blogspot.com/">Why Are These Kids Following Me?? Who Are They Calling Mom??</a></li>
      </ul>
      </li>

      to this

      <ul id="linkcat-1"><h2>Additional Blogs I Read</h2>
      <li><a href="https://www.soldiersperspective.us/">A Soldier's Perspective</a></li>
      <li><a href="https://www.momisnutz.blogspot.com/">Why Are These Kids Following Me?? Who Are They Calling Mom??</a></li>
      </ul>
    Thread Starter LL

    (@ll)

    That blogroll is fed directly from the get_links code, and what you have above is something I would hardcode into my sidebar. I have the first section of links that I put in so that I could customize the font and get it the way it looked on my old site, but that second section of links, “additional blogs I read” is just done in the wordpress add links part. I’m thinking the problem is how THAT is formatted versus my sidebar. I want to keep the additional blogroll as something I can easily add and delete links from instead of fiddling with my sidebar.php file repeatedly. Is there anyway to change the code in the wordpress file to make that first bullet disappear?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Automatic Bullets on List’ is closed to new replies.