8greentigers
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Themes and Templates
In reply to: Sidebar problemjdembowski and WP_Guy, your comments have been most helpful for me. However, I still can’t seem to get my 2nd sidebar over to the darn right side of the site. http://www.wheniwasnothing.com
I have attempted to move one of the sidebar lines to the top as you both have mentioned to do. The 2nd sidebar will simply appear above the posting and not to the right of it.
Also, I attemped to duplicate the sidebar section within the stylesheet for the sidebar2 file in hopes for the same look as the original sidebar to the left. No luck.
Any shared knowledge is much appreciated. Thanks!
Main Index
<?php get_header(); ?> <!-- start content --> <div id="content"> <?php include (TEMPLATEPATH . '/sidebar2.php'); ?> <?php if (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> <p class="byline"><small><?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit', '', ' | '); ?></small> <div class="entry"> <?php the_excerpt(); ?> </div> <p class="meta"><a href="<?php the_permalink() ?>" class="more">Read More</a> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »', 'comments'); ?> </div> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="byline"><small><?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit', '', ' | '); ?></small> <div class="entry"> <?php the_excerpt(); ?> </div> <p class="meta"><a href="<?php the_permalink() ?>" class="more">Read More</a> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »', 'comments'); ?> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div> <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here. <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> <!-- end content --> <?php get_footer(); ?>Stylesheet
body { margin: 0; padding: 0; background: #000000; font-size: 13px; color: #8C8C8C; } body, th, td, input, textarea, select, option { font-family: Georgia, "Times New Roman", Times, serif; } h1, h2, h3 { font-weight: normal; color: #CBA61A; } h1 { letter-spacing: -2px; font-size: 3em; } h2 { letter-spacing: -1px; font-size: 2em; } h3 { font-size: 1em; } p, ul, ol { line-height: 200%; } blockquote { padding-left: 1em; } blockquote p, blockquote ul, blockquote ol { line-height: normal; font-style: italic; } a { color: #3AA0B9; } a:hover { text-decoration: none; color: #EB42A3; } hr { display: none; } /* Header */ #header { width: 860px; height: 280px; margin: 0 auto; background: url(images/img01.jpg) no-repeat right top; } #header h1, #header p { margin: 0; color: #EB42A3; } #header h1 { padding-top: 100px; } #header a { text-decoration: none; color: #EB42A3; } /* Page */ #page { width: 1000px; margin: 0 auto; } /* Content */ #content { float: right; width: 460px; } .post { padding: 80px 0 300px 0; } .title { margin: 0 auto; border-bottom: 2px solid #0F0F0F; } .title a { text-decoration: none; } .pagetitle { border-bottom: 2px solid #0F0F0F; } .byline { margin: 0 auto; color: #646464; } .meta { text-align: right; color: #646464; } .meta .more { padding-left: 20px; background: url(images/img03.gif) no-repeat left center; } .meta .comments { padding-left: 20px; background: url(images/img04.gif) no-repeat left center; } .navigation { } .alignleft { float: left; } .alignright { float: right; } .posts { margin: 0; padding: 0; list-style: none; line-height: normal; } .posts li { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #0F0F0F; } .posts h3 { margin: 0; font-weight: bold; } .posts p { margin: 0; line-height: normal; } /* Sidebar */ #sidebar { float: left; width: 180px; } #sidebar ul { margin: 0; padding: 0; list-style: none; } #sidebar li { } #sidebar li ul { padding: 15px 0; } #sidebar li li { padding-left: 20px; border-bottom: 1px dotted #0F0F0F; background: url(images/img02.gif) no-repeat 5px 50%; } #sidebar h2 { margin: 0; padding: 20px 0 0 0; border-bottom: 2px solid #0F0F0F; } #sidebar a { text-decoration: none; } #sidebar a:hover { } /* Search */ #search input { display: none; } #search input#s { display: block; width: 230px; padding: 2px 5px; border: 1px solid #3DD1FF; background: #FFFFFF url(images/img05.gif) repeat-x; } #search br { display: none; } /* Calendar */ #calendar { } #calendar h2 { margin-bottom: 15px; } #calendar table { width: 80%; margin: 0 auto; text-align: center; } #calendar caption { width: 100%; text-align: center; } #next { text-align: right; } #prev { text-align: left; } /* Footer */ #footer { clear: both; padding: 30px 0; background: url(images/img07.gif) repeat-x; text-align: center; font-size: smaller; }
Viewing 1 replies (of 1 total)