Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2340

    I like the default layout for the home page (With sidebar), but when I click on a Post; Id like it to open full width; without the sidebar. Is it possible?

    #37647

    Pretty quick change. Just open single.php and make two changes.

    First find this line:

    if( $counter == 1 ) echo "<div class='content'>";

    and change it to this:

    if( $counter == 1 ) echo "<div class='content fullwidth'>";

    Next, find this line:

    get_sidebar();

    and change it to this:

    //get_sidebar();

    Hope that helps!

    #37648

    Perfect! Thank you :)

    #37649

    I’ve followed your instructions above which has worked well! I also want to make my main posts page so that it has no sidebar – how can I do this please?

    (Note, my posts are not displayed on the homepage)

    #37650

    Hey,

    did you solve the problem? Your blog: http://www.katielister.net/blog/portfolio-2/ seems to be fullwidth?

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to make Post full page when open’ is closed to new replies.