Remove Sidebar And Sidebar Margins From 1 Page of Wordpress Blog

Discussion in 'HTML & Website Design' started by cracka, May 18, 2010.

  1. #1
    Hi

    Im trying to add an astore to my wordpress blog, im using a flexitheme and the sidebar is in the way, ive searched google on how to remove sidebar from a certain page and ive managed to fine and do it by placing

    <?php if (!is_page(‘store’)) : ?>
    <?php get_sidebar(); ?>
    <?php endif; ?>
    <?php endif; ?>
    </div>

    above the


    <?php get_sidebar(); ?>

    in page.php , now my sidebar is gone and no longer showing, but the sidebar margins are still there

    Is there a way to remove these sidebar margins only for the page i want the astore to show, so that my astore can show fully on the page ?

    Thanks In Advance
     
    cracka, May 18, 2010 IP
  2. keym4k3r

    keym4k3r Peon

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can create a separate page template like page-astore.php and use it only for chosen pages.
     
    keym4k3r, May 18, 2010 IP
  3. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you want it for all the pages, Its very easy and is a work on the CSS + PHP page :)

    OR if you want it only for the first page, its possible, if you fail trying, why dont you rent me for it? HUh?
     
    extremephp, May 18, 2010 IP
  4. MissDigital

    MissDigital Peon

    Messages:
    11
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Look at your themefolder, if there is a one column page template. This page template can you copy and rename it to page-astore.php

    edit in the first commentline the name after Theme Name: Astore Page

    If you use a flexitheme, it can be, that there is a pagetemplate without sidebars and margins.

    Look at your theme documentation or rent a coder ;-) that can save you time and money
     
    MissDigital, May 25, 2010 IP