Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lesduffy

    (@lesduffy)

    I managed to figure it out. I had to add <div id=”container”> near the top of single.php with a closing div statement. Thanks 🙂

    Thread Starter lesduffy

    (@lesduffy)

    Any response on this? 🙁

    Thread Starter lesduffy

    (@lesduffy)

    I tried editing the style.css file also to add the border code to the #content section:

    #content {
    	padding: 5px;
    	line-height: 18pt;
    	float: left;
        width: 510px;
    	font-family: 'times new roman';
    	font-size: 14pt;
    border: 1px solid #AAAAAA;
    
    }

    …to no avail.

    Thread Starter lesduffy

    (@lesduffy)

    Well, here’s the code in the page.php file:

    <?php get_header(); ?><?php get_sidebar(); ?>
    <div id="content">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <h1><?php the_title(); ?></a></h1>
    
    <?php the_content("<p>__('Read the rest of this page &raquo;')</p>"); ?>
    <?php edit_post_link(__('Edit'), '<p>', '</p>'); ?>
    <?php endwhile; endif; ?>
    </div>
    
    <?php get_footer(); ?>

    In the style.css file, here’s the code for the container where I make the grey border appear (with the border: 1px solid #AAAAAA; code):

    #container {
    	width: 759px;
    	margin: 0 auto;
    	text-align: left;
    	padding-top: 0px;
    border: 1px solid #AAAAAA;
    }

    Thanks for any help you can provide.

Viewing 4 replies - 1 through 4 (of 4 total)