WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Odd URL popping up in Body (7 posts)

  1. yellowcandy
    Member
    Posted 8 years ago #

    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 http://nycnosh.com if you want to have a look and see what I'm talking about.

    Thanks a million everyone.

    Andrew

  2. Beel
    Member
    Posted 8 years ago #

    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}

  3. Kafkaesqui

    Posted 8 years ago #

    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.

  4. yellowcandy
    Member
    Posted 8 years ago #

    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="http://nycnosh.com/wp-content/themes/wpstyle/images/nycnoshlogo.jpg">
      <?php wp_list_pages(); ?>
      <?php get_links_list(); ?>
      <li size=1 id="categories"><?php _e('Categories:'); ?>

        <?php wp_list_cats(); ?>

      \\

  5. yellowcandy
    Member
    Posted 8 years ago #

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

  6. Beel
    Member
    Posted 8 years ago #

    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.

  7. yellowcandy
    Member
    Posted 8 years ago #

    Excellent. Thanks Beel and Kafkaesqui!

Topic Closed

This topic has been closed to new replies.

About this Topic