• I’m running WP 1.5 and I can’t figure out how to remove the <h2> tags from the headings for the link list. If you look at my site @ http://www.stinner.com , you’ll see that the link lists have a centered heading whereas the rest of the headings are left. I would prefer to have them all left. I tried adding text-align: left; to the style.css file for <h2> but it didn’t do anything.

Viewing 4 replies - 1 through 4 (of 4 total)
  • They’re not centered, actually, they simply have a large left margin. By changing the definition from:

    h2 {
    border-bottom: 1px dotted #cccccc;
    font: 100% "Times New Roman", Times, serif;
    /* letter-spacing: 0.2em; */
    margin: 15px 20px 0 30px;
    padding-bottom: 2px;
    }

    to

    h2 {
    border-bottom: 1px dotted #cccccc;
    font: 100% "Times New Roman", Times, serif;
    /* letter-spacing: 0.2em; */
    margin: 15px 20px 0 0px;
    padding-bottom: 2px;
    }

    it looks fine to me.

    Thread Starter davestinner

    (@davestinner)

    I didn’t even pay attention to the margin. I just looked like it was centered.

    Why is the Links section the only one with H2 tags around it?

    You can remove the H2 tags from the wp-includes/links.php file at about line 504.

    or use a differnt links template tag

    http://codex.wordpress.org/Template_Tags

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove <h2> from links list’ is closed to new replies.