Full Width by default

Discussion in 'ColorWay WordPress Theme' started by chndr, Feb 21, 2013.

Thread Status:
Not open for further replies.
  1. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    Hi,

    Is it possible to make the colorway theme by default full width?

    I am using the plugin Shopp for my e-commerce site and I want all the shopp pages are full width templates. Now it is not possible because the default setting of colorway is to have a sidebar.

    Thanks
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Edit those pages in which you want to integrate the features of shopp plugin and select the template to fullwidth template at the right side of the content section.
    For the reference see the image given below.
    [​IMG]

    this will solve your problem.
     
  3. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    I am sorry, but that option is not possible for me. Shopplugin create his own pages and this plugin copy the default setting of the theme. You can google Full width template shopp Genesis template. Hope you understand what I mean. Thank you
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Go to the page.php file present in your theme directory (Theme directory -> page.php) and remove the code as shown in the image given below.

    [​IMG]

    This will convert your default template to be full-width template.
     
  5. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    Thank you very much. The sidebars are gone now, but I dont have the possibility to turn the sidebar on for some pages. The situation I want is to have the standard template without sidebars and than have the option to set the page like sidebar template. Just like you do with the full width template. They have to be switched like the standard is without sidebar and fullwidth with sidebar. Hope you do understand what I mean. Thank you again
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    For this you need to create a new template with sidebar.
    Create a file "template-fullwidth-sidebar.php" paste code given below in it.

    Code:
    <?php
    /*
    Template Name: Fullwidth sidebar Template
    */
    get_header(); ?>
    <!--Start Content Grid-->
    <div class="grid_24 content">
        <div class="grid_16 alpha">
              <div class="content-wrap">
                  <div class="content-info">
                        <?php if (function_exists('inkthemes_breadcrumbs')) inkthemes_breadcrumbs(); ?>
                  </div>
                  <div class="sl">
                        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
                        <?php if ( is_front_page() ) { ?>
                        <h2>
                            <?php the_title(); ?>
                        </h2>
                        <?php } else { ?>
                        <h1>
                            <?php the_title(); ?>
                        </h1>
                        <?php } ?>
                        <?php the_content(); ?>
                      <div class="clear"></div>                 
                        <?php endwhile; ?>
                  </div>
                  <div class="folio-page-info">
                        <?php pagination(); ?>
                  </div>
              </div>
        </div>
        <?php get_sidebar(); ?>
    </div>
    <div class="clear"></div>
    <!--End Content Grid-->
    </div>
    <!--End Container Div-->
    <?php get_footer(); ?>
    
    After that paste that file in your theme directory.
    And select "fullwidth sidebar template" while creating page with sidebar.
     
  7. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    Thank you for your help. I think it works!
     
Thread Status:
Not open for further replies.

Share This Page