• I am looking into a friends blog and want to change the title on the page to center nice, and change font. But in the css its only showing this, and not all the h1 h2 etc. What to do? Where to change?

    <?php get_header(); ?>

    <div id=”main”>

    <?php if(have_posts()) : the_post(); ?>

    <article>
    <div class=”top”>
    <h2><?php the_title(); ?></h2>
    <span> <?php comments_number( ‘0</span>kommentarer’, ‘1</span>kommentar’, ‘%</span>kommentarer’ ); ?>
    </div><!– .top –>

    <div class=”postcontent”>
    <?php the_content(); ?>
    </div><!– .postcontent –>
    <p class=”tilbakemelding”>Hva synes du om dette innlegget? Lene setter pris på #kommenter”>din tilbakemelding</p>

    <?php echo ‘<div class=”ad netboard”>’ . str_replace(‘dropdown|’, ”, adrotate_group(5)) . “</div>”; ?>
    </article>

    <div class=”comments”>
    <?php comments_template(); ?>
    </div>

    <?php
    endif;
    ?>

    </div><!– #main –>
    <?php
    // get_sidebar();
    ?>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
  • Thread Starter tifure

    (@tifure)

    And in the style sheet is says (from the part I think its about)
    h1, h2, h3, h4, h5
    {
    color: #363535;
    font-family: georgia, ‘Times New Roman’;
    padding: 0;
    margin: 0 0 10px;
    font-weight: 400;

    }
    h2 {
    text-align: center;
    }

Viewing 1 replies (of 1 total)

The topic ‘Change page title in post – php problem’ is closed to new replies.