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?
How to make Post full page when open
5 posts from 4 voices-
Posted 2 years ago #
-
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!
Posted 2 years ago # -
Perfect! Thank you :)
Posted 2 years ago # -
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)
Posted 1 year ago # -
Hey,
did you solve the problem? Your blog: http://www.katielister.net/blog/portfolio-2/ seems to be fullwidth?Posted 1 year ago #
Reply
You must log in to post.














