wp_list_bookmarks help (4 posts)

  1. junithorn
    Posted 4 years ago #

    Hi everyone, I've just set up a new page template with the following:

    <style type="text/css">

    .content img {
    width: 170px;
    height: 120px;

    .content li {list-style:none}


    <div class-"content">

    <?php wp_list_bookmarks('title_li=&show_images=1&exclude_category=2 ') ; ?>


    It does display the blogroll correctly with images only, excluding the category I chose but none of the styling applies to it. I'd like to display the blogroll without the bullet points and have all the images uniformly sized.

    If there is a way to have it list them in more than one column too that would be fantastic.

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    this could be a typing mistake - should be:

    <div class="content">

    also, the code is mising <ul> tags;

    ultimately, without seeing the problem live, there is nothing to suggest.

    possibly, try to work with a tool such as Firebug http://getfirebug.com/ to investigate the formatting.

  3. junithorn
    Posted 4 years ago #

    I had already fixed the typing mistake, sorry. The formatting does apply to the blogroll categories but the images still have bullets for some reason. How would

      help in this situation?
  4. Michael
    Forum Moderator
    Posted 4 years ago #

    btw: please mark any posted code using the code button - see http://codex.wordpress.org/Forum_Welcome#Posting_Code
    this keeps it better readable.

    the ul tag would turn this into valid html to start with.

Topic Closed

This topic has been closed to new replies.

About this Topic