Support » Themes and Templates » Odd URL popping up in Body

  • Resolved yellowcandy


    Howdy! I’ve gotten some fantastic help from people here, so I thought I’d shoot two questions your way about some strangeness in the blog I’m starting.

    I’m using a theme from Alex King’s site (great stuff) and have managed to tweak it all so it works pretty well. The problems I’m having are these:

    (1) The URL for my style sheet keeps appearing in black text in the white space that is supposed to be background for my page. I can see it in the HTML– it appears just as untagged text (!), but I have no idea how to get rid of it permanently through WP. Help!

    (2) I can’t seem to resize the text that says ‘Great Food Sites’ in the sidebar. I’ve tried a ton of things, and because that text seems to be determined by the wp_list_pages or wp_get_links_list functions, I can’t seem to figure out how to alter it.

    The site is up at if you want to have a look and see what I’m talking about.

    Thanks a million everyone.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Paste your header code here and then provide us with a link to it.

    As for the second issue:

    li#linkcat-1 h2 { font-size:10px}

    For the first, check to see if anything in your template is attempting to assign bloginfo(‘stylesheet_url’) to a variable. If so, use get_bloginfo() instead.

    Kafkaesqui: Yep, that did it. I don’t know that it was assigning that info to a variable, but getting rid of it and changing the call to get_bloginfo made all the difference in the world.

    SO, Problem #1 is solved.

    As for Problem #2, I’d like to try what Beel suggests, but I am not sure where to put that code. My stylesheet never defines ‘linkcat’, and in the sidebar, there’s no <li tag anywhere. The relevant code that produces the big text is this:

      <img src=””>
      <?php wp_list_pages(); ?>
      <?php get_links_list(); ?>
      <li size=1 id=”categories”><?php _e(‘Categories:’); ?>
      <?php wp_list_cats(); ?>


    Oh, and the ‘Great Food Sites’ text comes up BEFORE the ‘Categories’ bit, as you can see… .

    It goes in your css. The function generates the “li” and linkcat is not in your css because the author did not add it, but you can. I assume you will want to use “linkcat” so all your link category headings will be the same size.



    Excellent. Thanks Beel and Kafkaesqui!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Odd URL popping up in Body’ is closed to new replies.