How to change Index Page layout – Esplanade

Viewing 2 posts - 1 through 2 (of 2 total)
  • #16290
    rubenbelem
    Participant

    Hi there!
    First of all, thank you very much for the AWESOME Esplanade theme!

    But I really need to set just the Index layout to Full-Width, and all the rest of my blog as Content / Sidebar.

    Here is my site if it needs to: Cafecombug

    I already tried research in the web, and to erase some things on index.php… Nothing worked.

    I really need some help! Anyone??

    • This topic was modified 11 years, 2 months ago by rubenbelem.
    • This topic was modified 11 years, 2 months ago by rubenbelem.
    #16325
    Daniel Tara
    Keymaster

    First duplicate your index.php file and rename it home.php. Then, from the new file remove these blocks of code:

    <?php if( 'sidebar-content-sidebar' == esplanade_get_option( 'layout' ) ) : ?>
    			<div class="content-sidebar-wrap">
    		<?php endif; ?>

    and

    <?php if( 'sidebar-content-sidebar' == esplanade_get_option( 'layout' ) ) : ?>
    				<?php get_sidebar( 'left' ); ?>
    			</div><!-- #content-sidebar-wrap -->
    			<?php get_sidebar( 'right' ); ?>
    		<?php elseif( ( 'no-sidebars' != esplanade_get_option( 'layout' ) ) && ( 'full-width' != esplanade_get_option( 'layout' ) ) ) : ?>
    			<?php get_sidebar(); ?>
    		<?php endif; ?>
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.