+ Reply to Thread
Results 1 to 5 of 5

Thread: Deleting Column in my pages

  1. #1
    Join Date
    Mar 2010
    Posts
    5

    Default Deleting Column in my pages

    Hey guys,

    So I am working on the my new website locally, and I have added the pages I wanted to show up in my menu so that they appear in the following order -->
    News/find us/ prices/ media/ etc etc.....

    Where I am totally happy about keeping the news pages under the form of a blog role with a two column template, I would like the find us and prices pages to be static and hopefully just one column , but I dont really know how to do this ? I understand this is probably a really basic question, but I am a real newbie with wp and web design, so the learning curves is rather steep right now

    thank you so much for your help

  2. #2
    Join Date
    Feb 2009
    Posts
    605

  3. #3
    Join Date
    Mar 2010
    Posts
    5

    Default

    Thanks for the rapid answer !
    I went to have a look and tried what the forum recommended following the threads you gave me, but I think I am in the same situation as this guy:

    Which version of Cutline are you using? It's probably not 3-column. It should still work when you use <?php get_sidebar(); ?> inside of the IF statement.


    Quote:
    Originally Posted by Hatchew
    I was so excited to see these instructions laid out so clearly.

    Apparently not clear enough for me, though.

    Where do I find:

    <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
    <?php include (TEMPLATEPATH . '/r_sidebar.php'); ?>

    I was looking at page.php but the only reference I see to sidebar is:

    <?php get_sidebar(); ?>
    and I myself cannot work my way round the Page.php file ?
    where should the call be ? should the <?php get_sidebar(); ?> stay ?

    At the minute this is my Page.php code, the name of the page am trying to modify is called Shop.
    <?php get_header(); ?>

    <div id="content_box">

    <div id="content" class="pages">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h2><?php the_title(); ?></h2>
    <div class="entry">
    <?php the_content('<p>Read the rest of this page &rarr;</p>'); ?>
    <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    </div>
    <?php if ('open' == $post-> comment_status) { ?>
    <p class="tagged"><a href="<?php the_permalink() ?>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a></p>
    <div class="clear"></div>
    <?php } else { ?>
    <div class="clear rule"></div>
    <?php } ?>
    </div>

    <?php endwhile; endif; ?>

    <?php if ('open' == $post-> comment_status) { comments_template(); } ?>

    </div>
    <?php get_sidebar(); ?>

    </div>

    <?php get_footer(); ?>
    Thank a lot !

  4. #4
    Join Date
    Mar 2010
    Posts
    5

    Question Manage to take the sidebar and comment off

    ok so I decided to make a new page template , which I called Shop.php, I used the code of the page.php and through trial and error, this is what I have managed to do, which is nearly perfect for me , the sidebar is off and the comments as well, the only problem I can't make that page to fit the entire part of the screen including the previous space taken by the sidebar:

    here is the code :
    <?php get_header(); ?>

    <div id="content_box">

    <div id="content" class="pages">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <h2><?php the_title(); ?></h2>
    <div class="entry">
    <?php the_content('<p>Read the rest of this page &rarr;</p>'); ?>
    <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    </div>


    <?php endwhile; endif; ?>


    </div>



    </div>

    <?php get_footer(); ?>
    I have tried to change the class=pages to class=widecolumn but that didn't work, any idea ?

  5. #5
    Join Date
    Feb 2009
    Posts
    605

    Default

    Open style.css and find the declarations where it's giving #content_box and #content widths. Check the other divs too. Change the width values to the full width of the layout.

    I recommend installing Firebug on Firefox for finding those CSS selectors easier.

+ Reply to Thread

Similar Threads

  1. Images exceeding post column width
    By kittyfingers in forum Posts, Pages, Comments
    Replies: 5
    Last Post: 02-26-2010, 05:22 PM
  2. New pages in 2.2, how?
    By NEStreet in forum Community Exchange
    Replies: 6
    Last Post: 06-06-2009, 09:26 AM
  3. Messed up column on the bottom of the page
    By jhturner in forum Bugs & Fixes
    Replies: 1
    Last Post: 03-30-2009, 09:19 AM
  4. Comments count on Cutline 1.4 three column, split sidebars
    By koolvn in forum Posts, Pages, Comments
    Replies: 1
    Last Post: 03-30-2009, 09:14 AM
  5. Pages 46 - 49
    By deb_n in forum Random Chat
    Replies: 3
    Last Post: 07-24-2008, 01:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts