• iatba

    (@iatba)


    Hello, I have recently installed a new word press, and I have edited the layout, but I would like to know how to remove the Li or Ul tag that seems to be before my ‘Dailies’ links, you can just see half of the little cirlce, do you see what I mean on my website http://misterpeter.net/blog/ I hope somebody understands, and if anyone can help, I would appreciate it very much, thanks you 😀

Viewing 6 replies - 1 through 6 (of 6 total)
  • Jeremy Clark

    (@jeremyclark13)

    When you say you edited to you mean that you added a new widget or that you edited the sidebar.php in your theme if it’s the last the paste the code here and report the link back here.

    Thread Starter iatba

    (@iatba)

    <? php wp_list_bookmarks(); ?>
    This is the thing I am having trouble with. If you look on my sidebar where it says ‘Dailies’, it has a list dot thing on the left hand side of it, i dont want that there, basically i need to get rid of the < li > tag from the title, i don’t mind it being on the part that says ‘Dlisted’ make more sense?
    Basically all I need to do it edit the title of the bookmarks, I can’t be more clearer because I don’t know what any of the real HTML, PHP terms are called.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Use this code for your wp_list_bookmarks call instead of what you have now.

    <?php
    wp_list_bookmarks(array(
    'category_before' => '',
    'category_after' => '',
    ));
    ?>
    rwbronco

    (@rwbronco)

    what template are you using?

    It’s more than likely in your sidebar.php of your template. Check there and see if there’s a

    • tag before your dailies (is that your links?) and try using a <p> tag or something instead (if that’s even necessary).
    Thread Starter iatba

    (@iatba)

    ah, Otto42, that tag worked perfectly, thanks so much for your help, now the layout is more clean. Thanks again.
    Oh, and if you’re interested, the theme I am using is a lightly edited version (edited by me adding a few tables here and there) of the default, so I was a bit baffled by that ul tag still being there, it’s fixed now, thanks very much 😀

    TrishaM

    (@trisham)

    Otto42’s solution works, but you can also just modify your stylesheet to remove the list-style type.

    First identify the class that encloses the ul li for the particular section, then find it in your stylesheet and add ‘list-style: none;’ to it

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The ul tag… is annoying’ is closed to new replies.