Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter arnaud202

    (@arnaud202)

    Same problem on 1.0.8, image header is only well displayed when my browser windows is at 1200 px. The height of the image slides under the menu.

    arnaud202

    (@arnaud202)

    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 ??

    Thread Starter arnaud202

    (@arnaud202)

    thank you for keep going the good work !

    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 ??

Viewing 4 replies - 1 through 4 (of 4 total)