Pages and word wrap... (5 posts)

  1. o2slim
    Posted 10 years ago #

    Hi all,

    I did a bit of searching and couldn't find it, but this is the current code I have for a page template:
    Template Name: Universal

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post();?>
    <h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2>
    <?php the_content('<p class="serif">Read the rest of this page »'); ?>
    <?php endwhile; endif; ?>

    However anything that I post on the page in one long line of text is not wrapped automatically. I have to manually return to the next line when editing the page. I have tried most switches like
    <div class="post">
    </div> etc. But none of them wrap the word or keep the text in the main posting area. Thanks for your help! :)

  2. Kafkaesqui

    Posted 10 years ago #

    What browser are you using? In Firefox, long non-spaced lines do not wrap.

  3. o2slim
    Posted 10 years ago #

    The lines have normal spaces. Sorry I have have been more specific on that. Normal senteces spaces and all.

  4. o2slim
    Posted 10 years ago #

    Nevermind I just found using narrowcolumn in the correct place worked for me ;) Thanks for the help!

  5. Kafkaesqui

    Posted 10 years ago #

    I'm not sure I helped, but I'm glad you figured it out.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.