lesduffy
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: Add border around whole pageI managed to figure it out. I had to add <div id=”container”> near the top of single.php with a closing div statement. Thanks 🙂
Forum: Themes and Templates
In reply to: Add border around whole pageAny response on this? 🙁
Forum: Themes and Templates
In reply to: Add border around whole pageI 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.
Forum: Themes and Templates
In reply to: Add border around whole pageWell, 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 »')</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)