If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #2026

    Hi everyone!

    I know it is possible (using a template) to display pages in full width, but i didnt find any way to do this for categories and posts. Is there any way to disable the widget spaces for those aswell?

    Help would be much appreciated!




    You need to adjust the bodyclass set at the very top of single.php which by default looks like this:

    $k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
    // $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar

    to this:

    // $k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
    $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar

    You can use conditional statements if you only want the full width for certain posts.



    I did this in my site, works except the header of the post that displays the post title, categories etc is still the same size so it off sets the text… Here is an example http://www.tensixphotography.com/2010/01/ (Purchase code hidden if logged out) /

    How do i fix that?


    Did you remove following line from single.php?

    <?php get_sidebar(); ?>


    Worked! Thank you very much!!!


    Glad that we could help you.

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

The topic ‘Posts in full width’ is closed to new replies.