Viewing 10 replies - 1 through 10 (of 10 total)
  • Theme Author wpmultiverse

    (@wpmultiverse)

    Hi there, currently Griffin does not have the option to remove the sidebar, you would have to edit the theme to remove the sidebar as sidebars are included in all single post & page templates.

    Thread Starter skulldragon

    (@skulldragon)

    Well that’s pretty lame. I hope you weren’t expecting this theme to take off by not providing such a basic option.

    Hi,
    Great theme but I would also like to have full length template. How do you edit the theme to have it?
    Thanks.

    If you want a full length page just create a new PHP file in your theme folder (ex: pagenosidebar.php).
    put this code at the beginning :

    <?php
    /*
    Template Name: Page without Sidebar
    */
    ?>

    Copy your page.php code and paste it.
    Delete the full <div> part where sidebar.php is called
    adjust the length of the <div> content with : style=”width:100%;” (or direct in your style.css but all your pages will be full length in this case)

    Create a new page and select “Page without Sidebar” in model, that’s all ??

    Better change the class col-md-4 or 8 to col-md-12, the full width template on your new template.

    Yes, I did as Silviog said (even if it took me a little time to find where to change this element).
    For starters, it’s in page.php.
    Probably also in single.php if you’re making a blog

    Hoping I’m right and it could help starters like me !

    i seem to be having a similar problem – the homepage is the only page i really want full width right now it’s at 66 percent or so. What exactly do i have to do (i’m completely new to wordpress)

    Hello !

    Do you want a sidebar on other pages ?
    If you do, you need to select your templates pages in your pages listing.
    You select the full witdh one for your home page, and page with sidebar for others.

    I’m afraid I don’t know the right termes for all of those elements, I’m using French WordPress !

    Silviog tip works perfect, thanks !

    This is the code of a “pagenosiderbar.php” template for example

    <?php
    /*
    Template Name: Page No Sidebar
    */
    ?>
    <?php get_header(); ?>
    <div id="post-holder" class="row">
    	<div class="col-md-12">
    		<?php
    			while (have_posts()) : the_post();
    				get_template_part('content', 'page');
    				comments_template();
    			endwhile;
    		?>
    	</div>
    </div>
    <?php get_footer(); ?>

    Resolved ??

    Thanks for that arnaud202. Are you able to provide the code for making posts full width?
    I have no php knowledge unfortunately.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Get rid of sidebar’ is closed to new replies.