Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5108

    Hi Team

    Wondering if you can tell me where I can remove the sidebar for the Products Page in the Avisio Theme. Would prefer that the products page have a full width page rather than having a sidebar.

    Thanks as always in advance.

    x Us Down Here

    #48913

    Hey,

    I assume you refer to portfolio pages/entries.

    1) If yes you can follow the tutorial here: http://www.kriesi.at/support/topic/i-want-to-display-my-portfolio-entries-or-posts-without-a-sidebar

    2) If you only want to use fullwidth portfolio items (without option to switch the template):

    Change following code in single.php:

    <div class="wrapper" id='wrapper_main'>

    <div class="center">

    to

    <?php if( get_post_type() != 'portfolio' ) {?>
    <div class="wrapper" id='wrapper_main'>
    <div class="center">
    <?php }else{ ?>
    <div class="wrapper fullwidth" id='wrapper_main'>
    <div class="center">
    <?php } ?>

    and:

    <?php
    $k_option['showSidebar'] = 'blog';
    get_sidebar(); ?>

    to:

    <?php if( get_post_type() != 'portfolio' ) {

    $k_option['showSidebar'] = 'blog';
    get_sidebar();
    } ?>

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Products Page Sidebar Removal’ is closed to new replies.