WordPress.org

Ready to get started?Download WordPress

Forums

Wedding Bells
Remove Sidebar / Make main page blog style (3 posts)

  1. hafezma
    Member
    Posted 1 year ago #

    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!

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    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(); ?>
  3. wedandwhatnot
    Member
    Posted 11 months ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic