• Ok, basically, I just upgraded to 1.5. I really wanted the human condition theme, so i simply replaced the style in classic with the human condition style css file. But now I cannot seem to get the Link header to go away, which is causing my page to stretch. Any suggestions?

    Heres the page…

    http://www.complete-tech.com/blog/index.php

Viewing 13 replies - 1 through 13 (of 13 total)
  • The page is also screwed up in Firefox, just thought I’d mention it because you say on your page that it’s not working just in IE. The “links” title bar is what seems to be breaking it in Firefox.

    Thread Starter nrcone

    (@nrcone)

    I understand that, but in IE, not only is the link header being displayed, but the whole thing is being displayed on the bottom. I just want to remove the header and have Links in the same text that “pages” is in.

    The Links header is weird because in WP1.5 the link category headers get wrapped in <h2>. You can either hack the code to remove it (there was a thread about that yesterday)

    or you could try to restrict the h2 formatting (with the background) only to the post area (i.e. “content”) in the stylesheet. Maybe put #content h2 instead of h2

    Thread Starter nrcone

    (@nrcone)

    So if I went into links.php, which currently looks like this:

    “<?php
    /*
    Template Name: Links
    */
    ?>

    <?php get_header(); ?>

    <div id=”content” class=”widecolumn”>

    <h2>Links:</h2>

      <?php get_links_list(); ?>

    </div>

    <?php get_footer(); ?>”

    Then what would I change?

    That’s not the problem, it’s the one in the sidebar and I believe it’s generated by a function rather than a template.
    I suggest you take my 2nd suggestion. Adding #content in front of h2 in your stylesheet

    oh, and in addition you may have to add a #menu h2 { } to shrink the Links text after getting rid of the background

    Thread Starter nrcone

    (@nrcone)

    So which php/css file would this be?

    the stylesheet of your active template. Go to Presentation > Theme Editor > choose Classic theme (if not chosen) and then click Stylesheet. If the file has write permissions for all, you should be able to edit it in the theme editor

    Thread Starter nrcone

    (@nrcone)

    What do you mean (sorry, new)

    This is what I see under h2:

    “h2 {
    width: 508px;
    font-size: .7em;” and it goes on a more.

    Do I make it: #content h2 { …

    ?

    yup 🙂

    Thread Starter nrcone

    (@nrcone)

    Well, I did that, and it still doesn’t work. But where exactly do I add the “#menu h2 {}” to?

    you can place it anywhere because there is not such thing yet in the stylesheet. Try putting
    #menu h2 {
    font-size: 1em;
    }

    in there

    Thread Starter nrcone

    (@nrcone)

    EDIT: Fixed

    Thread Starter nrcone

    (@nrcone)

    EDIT 2: Well, FINALLY got it working, turns out I had to add BOTH those parameters in two different places. Thank you VERY much for you help. If theres ever anything I can do to help you, I’ll try.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Link header ruining page’ is closed to new replies.