Support » Fixing WordPress » Where is "class='xoxo blogroll'" coming from??

  • Resolved garybeck


    I am working on my links page.

    I have this line of code to produce the content:

    <?php wp_list_bookmarks('title_li=&category_before=&category_after=&before=<li class="bookmark">'); ?>

    for some reason the resulting web page has this class assigned to the UL:

    <ul class='xoxo blogroll'>

    I can’t figure out where that is coming from, and there is no such class predefined in my stylesheet. Also, if I create the class in my stylesheet and try to define it, there is no effect on the output, like it’s being overridden.

    the main thing I’m trying to do is get the bullets to appear in the
    <li> items inside that UL. But they are missing and I can’t get them to show no matter what I do.

    any help is much appreciated.

    gary in vermont</li>

Viewing 4 replies - 1 through 4 (of 4 total)
  • It’s coming from the wp_list_bookmarks function (i think)..

    RE: CSS , try..

    ul.blogroll li { list-style: disc inside }

    Failing that, try forcing the CSS..

    ul.blogroll li { list-style: disc inside!important; }

    Purely examples of course, take what you will from it..

    thanks but I’m confused. if the class assigned is ‘xoxo blogroll’ don’t i have to include the ‘xoxo’ in the stylesheet definition?

    i’ve never seen spaces in class names.

    It is not a space in ONE class name. It is a space between TWO class names.

    You can assign more than one class to an element. I might assign a class of post to all the paragraphs in a post and also assign a class of initial to the first paragraph of a post. The initial CSS would include something like drop caps and uppercase being added to that paragraph while still using the post CSS as in the other paragraphs of that post.

    thanks everyone. I’m still not sure why my css code didn’t work and yours did, but at this point it doesn’t matter 🙂

    thanks very much

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where is "class='xoxo blogroll'" coming from??’ is closed to new replies.