I have a left sidebar wordpress theme and I would like to switch sides and have the content on the left and the sidebar on the right. Where on the wordpress editor file should I go and how do I switch? Thanks
Thanks but didn't work - only floated a bit to the right within the left column's space Mabybe I should change something here - #sidebar li { margin-bottom: 30px; padding: 0 0 10px 0px; } #sidebar li ul { } #sidebar li li { margin: 0; padding: 7px 10px 10px 7px; background: url(images/img07.jpg) repeat-x left bottom; } #sidebar p { margin: 0; padding: 0px 10px; } ?
Thank you - /* Sidebar */ #sidebar { float: left; width: 177px; padding-left: 22px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #375910; hover: text-decoration: underline; } #sidebar ul { margin: 0; padding: 0; list-style: none; line-height: normal; } #sidebar li { margin-bottom: 30px; padding: 0 0 10px 0px; } #sidebar li ul { } #sidebar li li { margin: 0; padding: 7px 10px 10px 7px; background: url(images/img07.jpg) repeat-x left bottom; } #sidebar p { margin: 0; padding: 0px 10px; } #sidebar h2 { height: 26px; margin: 0 0 10px 0px; padding: 12px 0 2px 10px; background: url(images/img06.jpg) no-repeat left top; text-transform: capitalize; font-size: 13px; font-weight: bold; color: #FFFFFF; } #sidebar p { line-height: 200%; } #sidebar a { text-align: left; text-decoration: none; font-weight: bold; color: #375910; } #sidebar a:hover { text-decoration: underline; } <?php get_header(); ?> <div id="content"> <?php if (have_posts()) : ?> <?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_attribute(); ?>"><?php the_title(); ?></a></h2> <p class="meta">Posted on <?php the_time('F jS, Y') ?> by <?php the_author() ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer 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.</p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Change float: left; to float: right; in the #sidebar{...} and write <?php get_sidebar(); ?> just after <?php get_header(); ?>.
Write here the code in #content{...} and it will be better if you write here the theme name that you use.
That gave me an idea an I was able to switch - I just needed to float the content left Thank you very much for your help!