Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #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?


    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:


    and change it to this:


    Hope that helps!


    Perfect! Thank you :)


    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)



    did you solve the problem? Your blog: 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.