WordPress.org

Support

Support » Themes and Templates » Remove Sidebar / Make main page blog style

Remove Sidebar / Make main page blog style

  • hafezma
    Member

    @hafezma

    Hi,

    Love the theme! But need help turning the main page into a blog style only. Want to get rid of the sidebar. I have made all my other pages the Full Width type pages, but I can’t get the main page to be like that with just a blog and no sidebar.

    I tried removing the call to sidebar in index.php, and that worked, but the problem is now the blog posts/page alignment is all weird. With everything on the left, and a big white space (where the sidebar used to be) on the right.

    Any help making index.php take on the Full Width Page template would be appreciated! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • paulwpxp
    Font hero

    @paulwp

    In V2.0 it uses grid framework, so you could just change the class.

    If not already yet, make a child theme first, and overwrite index.php changing the class from span8 to span12 like this.

    <?php get_header(); ?>
    
    	<div class="row-fluid" id="content">
    
    		<div class="span12">

    Notice the class, it was “span8” now changed to “span12”

    and down below it just comment out the call to sidebar.

    <?php // get_sidebar(); ?>
    
    	</div><!-- row -->
    
    <?php get_footer(); ?>
    wedandwhatnot
    Member

    @wedandwhatnot

    Hi everyone. I’m trying to add an ad linking to my other website. I’m in no way a programmer. Can you tell me how to add an ad to my blog please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Sidebar / Make main page blog style’ is closed to new replies.